Skip to content

Commit

Permalink
Merge pull request #350 from open-rpc/fix/docker-file
Browse files Browse the repository at this point in the history
fix: update server dockerfile
  • Loading branch information
BelfordZ authored Feb 10, 2020
2 parents 7d7e874 + 9b53f10 commit 694ef49
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions templates/server/typescript/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM node:11-alpine
FROM node:12-alpine
COPY package.json .
RUN npm set progress=false
RUN npm install --only=production
COPY ./src ./src
COPY ./bin ./bin
COPY ./templates ./templates
ENTRYPOINT [ "./bin/cli.js" ]
COPY ./build ./build
ENTRYPOINT [ "node ./build/index.js" ]

0 comments on commit 694ef49

Please sign in to comment.