Files
codiki-hexagonal/Dockerfile-frontend
Florian THIERRY e7f9df658a
All checks were successful
Build and Deploy Java Gradle Application / build-and-deploy (push) Successful in 1m49s
test
2025-07-23 22:54:48 +02:00

12 lines
379 B
Plaintext

FROM node:24-alpine AS builder
WORKDIR /app
COPY frontend /app
RUN npm install
RUN npm run build-prod-en
RUN npm run build-prod-fr
FROM nginx:1.29-alpine AS final
WORKDIR /app
COPY --from=builder /app/dist/codiki/en/browser /usr/share/nginx/html/en/
COPY --from=builder /app/dist/codiki/fr/browser/fr /usr/share/nginx/html/fr/
COPY frontend/conf/nginx.conf /etc/nginx/nginx.conf