feat: dockerize app
This commit is contained in:
parent
ff4d66c3d3
commit
67d826cd43
2 changed files with 8 additions and 0 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
node_modules
|
||||||
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM node:lts-alpine
|
||||||
|
|
||||||
|
COPY package.json package-lock.json app.js ./
|
||||||
|
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
|
CMD [ "node", "app.js" ]
|
||||||
Reference in a new issue