1
0
Fork 0

feat: dockerize app

This commit is contained in:
Vojtěch Mareš 2022-05-19 13:49:20 +02:00
parent ff4d66c3d3
commit 67d826cd43
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 8 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
node_modules

7
Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM node:lts-alpine
COPY package.json package-lock.json app.js ./
RUN npm ci
CMD [ "node", "app.js" ]