website/Containerfile
ndsboy 3ae8ab4c86
All checks were successful
deploy / deploy (push) Successful in 25s
feat: remove netto
2025-05-06 17:23:57 +00:00

13 lines
385 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:alpine-slim
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