Files
website/Dockerfile
Tim Kainz 211a018321
All checks were successful
publish.yml / publish (push) Successful in 23s
test again
2026-04-18 23:31:24 +02:00

13 lines
276 B
Docker

FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine-slim
EXPOSE 80
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/website/browser /usr/share/nginx/html
ENTRYPOINT ["nginx", "-g", "daemon off;"]