firq-dev-website/Dockerfile
Firq 186b797bb6
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m4s
/ create-release (push) Successful in 6s
Removed Dockge again, switched to alpine images
2024-07-20 17:02:30 +02:00

15 lines
338 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run astro telemetry disable
RUN npm run build
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
COPY --from=build /app/dist /public
COPY --from=build /app/serve.json /public/serve.json
RUN rm -r /public/data/
EXPOSE 8081
CMD serve public/ -p 8081