This commit is contained in:
2025-10-02 12:55:40 +02:00
parent 8317094a4c
commit 297dbc2ae5
15 changed files with 1184 additions and 499 deletions

View File

@@ -0,0 +1,18 @@
# DockerfileGTFRH.backend
FROM node:18-alpine
WORKDIR /GTFRRH/project
# Copy only package files first for caching
COPY package*.json ./
# Install backend dependencies inside container
RUN rm -rf node_modules package-lock.json && npm install
# Copy backend source code
COPY . .
EXPOSE 8001
CMD ["node", "serv.js"]