Skip to content

Commit

Permalink
fix: debugging Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamDASILVA committed Jun 11, 2021
1 parent c58ca3e commit 612af47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ RUN npm run build

FROM node:10.9.0-alpine as release

COPY --from=build /app/dist .
WORKDIR /

COPY --from=build /app/dist/index.js ./index.js

COPY package.json package-lock.json ./

RUN npm ci --production

CMD ["node", "index.js"]
ENTRYPOINT ["node", "/index.js"]

0 comments on commit 612af47

Please sign in to comment.