Firq
a77312c17c
All checks were successful
Linting and checking code / get-version (push) Successful in 2s
Linting and checking code / astro-check (push) Successful in 13s
Build and deploy preview site / check-tag (push) Successful in 2s
Build and deploy preview site / checking (push) Successful in 12s
Build and deploy preview site / build-site (push) Successful in 1m12s
Build and deploy preview site / run-unlighthouse (push) Successful in 0s
Build and deploy preview site / create-release (push) Successful in 6s
Build and deploy preview site / auto-deploy-dockge (push) Successful in 21s
15 lines
351 B
Docker
15 lines
351 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 /public/.original.favicon.ico
|
|
|
|
EXPOSE 8081
|
|
CMD serve public/ -p 8081
|