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.
9 lines
132 B
Plaintext
9 lines
132 B
Plaintext
|
|
FROM node:18-alpine
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm install --production
|
|
COPY . .
|
|
EXPOSE 3001
|
|
CMD ["node", "server.js"]
|