Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
slambdev authored Apr 28, 2021
1 parent 3dede9c commit 49295e2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM node:14-alpine

WORKDIR /app
WORKDIR /github/workspace/

COPY package*.json ./
COPY . .

RUN npm ci --only=production

COPY . .

RUN ls

CMD ["npm", "start"]
ENTRYPOINT ["node", "./main.js"]

0 comments on commit 49295e2

Please sign in to comment.