This commit is contained in:
2026-03-25 10:58:10 +01:00
commit 07c4c04eb7
23 changed files with 7365 additions and 0 deletions

21
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM node:20-slim AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:20-slim
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD ["node", "./dist/server/entry.mjs"]