Skip to content

Commit

Permalink
[major] Upgrading NodeJS to v18. (#223)
Browse files Browse the repository at this point in the history
* [major] Upgrading NodeJS to v18.

* [minor] adjust docker image node version

---------

Co-authored-by: Timothy Gulfan <[email protected]>
  • Loading branch information
Caitlynn and tgulfan authored Jul 18, 2023
1 parent cf616c1 commit 8aa01c0
Show file tree
Hide file tree
Showing 4 changed files with 1,202 additions and 6,264 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
18
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14
FROM public.ecr.aws/docker/library/node:18

WORKDIR /root/app/

Expand All @@ -8,8 +8,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update \
&& apt-get install -y jq

RUN npm i -g npm@latest

COPY package.json package-lock.json ./

RUN npm ci --quiet --no-optional && \
Expand Down
Loading

0 comments on commit 8aa01c0

Please sign in to comment.