Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
review: Dockerfile best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gomes committed May 18, 2023
1 parent 8ca569e commit a5932be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ADD lib /app/lib

WORKDIR /app

RUN apk update && apk add --no-cache nodejs npm
RUN npm install
RUN apk update &&\
npm install

CMD ["/usr/bin/node", "/app/app.js"]

0 comments on commit a5932be

Please sign in to comment.