feat(docker): update ports to 10001 (frontend) and 10002 (backend)

This commit is contained in:
Andrej Spielmann
2026-03-26 15:31:58 +01:00
parent 7210d09821
commit 0721cbf879
4 changed files with 287 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]