Contenerisation

This commit is contained in:
ElPoyo
2025-09-29 15:53:29 +02:00
parent 45f76cc5c8
commit 5d0993bda3
17 changed files with 122 additions and 58 deletions

View File

@@ -1,2 +0,0 @@
PORT=3000
TEXTS_PATH=C:\src\patois\texts

12
backend/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]