Hotfixes and CI/CD
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 3m51s

This commit is contained in:
Antoni Nuñez Romeu
2026-04-17 15:33:19 +02:00
parent b3f7d6bf98
commit 114fda056d
24 changed files with 2806 additions and 53 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# Builder stage
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
COPY . .
RUN node setup.js
RUN npm ci
RUN npm run build
# Runner stage
FROM node:22-alpine
WORKDIR /app
COPY --from=builder /app/build ./build
RUN npm install -g serve
EXPOSE 32100
CMD ["serve", "-s", "build", "-l", "32100"]