website/Containerfile
ndsboy a673910c9d
All checks were successful
deploy / deploy (push) Successful in 32s
fix: downgrade nginx
https://github.com/nginx/docker-nginx-unprivileged/issues/302
2025-04-27 13:44:18 +02:00

13 lines
No EOL
379 B
Docker

FROM docker.io/library/node AS build
WORKDIR /app
COPY . .
ENV ASTRO_TELEMETRY_DISABLED=true
RUN npm install
RUN npm run build
FROM git.swablab.de/swablab/documents AS documents
FROM docker.io/nginxinc/nginx-unprivileged:1.27.4
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
COPY --from=documents / /usr/share/nginx/html/docs