Skip to content

Commit

Permalink
update node version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmathia committed Jan 5, 2024
1 parent dca7dbd commit 3049a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 90 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM node:14-alpine
FROM node:18-alpine

WORKDIR /app

COPY package*.json ./
COPY . .

RUN npm install

COPY . .

RUN npm run build

CMD ["node", "build/index.js"]
Expand Down
88 changes: 2 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3049a4a

Please sign in to comment.