Skip to content

Commit

Permalink
Update dockerfile to use supported image
Browse files Browse the repository at this point in the history
  • Loading branch information
carusooo committed May 25, 2023
1 parent 8500f2b commit 69c23ab
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
FROM node:6-onbuild
FROM node:14-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app/
RUN npm install && npm cache clean --force
COPY . /usr/src/app

CMD [ "npm", "start" ]

EXPOSE 3000

0 comments on commit 69c23ab

Please sign in to comment.