I don't know how to use docker :(

This commit is contained in:
Isaac 2021-05-25 21:17:08 +01:00
parent 842aea4640
commit d8d6138c85
No known key found for this signature in database
GPG Key ID: F6812DBC6719B4E3
2 changed files with 10 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
node_modules

View File

@ -0,0 +1,9 @@
FROM node:16
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm i --production
COPY . .
CMD ["npm", "start"]