Files
website/Dockerfile
tikaiz ce135f6bf2
All checks were successful
publish.yml / publish (push) Successful in 1m11s
move to / subpath
2026-04-10 12:45:37 +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;"]