add dockerfile

This commit is contained in:
blennster 2022-11-14 18:00:35 +01:00 committed by schlagmichdoch
parent 7283ab2c49
commit cc43e3c3e9
2 changed files with 18 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
node_modules
.github
.git*
*.md

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:lts-alpine
WORKDIR /home/node/app
COPY package*.json ./
RUN npm ci
COPY . .
EXPOSE 3000
CMD ["node", "index.js"]