Added Dockerfile

This commit is contained in:
Thom Werring 2023-10-22 15:59:11 +02:00
parent fa150e5ce3
commit 27f6972aa6
2 changed files with 14 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
node_modules

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:18-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "run", "start"]