feat: Implement Docker build and serving setup

Adds Dockerfile for frontend and backend, along with Nginx configuration and .dockerignore files. This enables containerized deployment and proper handling of static assets and API proxying. Updates mockDb.ts to correctly type ticket attachments.
This commit is contained in:
2025-12-07 20:29:36 +01:00
parent 919be985c9
commit 0b2453e5a9
6 changed files with 75 additions and 2 deletions

8
server/Dockerfile.txt Normal file
View File

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