chore: backend docker setup

.dockerignore en .dockerfile van de backend ingesteld
This commit is contained in:
Timo De Meyst 2025-03-07 15:52:52 +01:00
parent 3cd7496989
commit 662f0ac190
2 changed files with 21 additions and 0 deletions

7
backend/.dockerignore Normal file
View file

@ -0,0 +1,7 @@
**/node_modules/
**/dist
.git
npm-debug.log
.coverage
.coverage.*
.env

View file

@ -0,0 +1,14 @@
FROM node:22
WORKDIR /app
COPY ./package*.json ./
RUN npm install
COPY . .
EXPOSE 80
EXPOSE 443
CMD ["npm", "start"]