Skip to content

Commit

Permalink
I don't know how to use docker :(
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed May 25, 2021
1 parent 842aea4 commit d8d6138
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:16

WORKDIR /usr/src/app
COPY package*.json ./

RUN npm i --production

COPY . .
CMD ["npm", "start"]

0 comments on commit d8d6138

Please sign in to comment.