firq-dev-website/Dockerfile
Firq 5bfdb277fc
All checks were successful
/ checking (push) Successful in 15s
/ publish (push) Successful in 8s
/ build-site (push) Successful in 2m34s
/ deploy-unlighthouse-site (push) Successful in 7s
/ deploy-unlighthouse-files (push) Successful in 9s
/ unlighthouse (push) Successful in 1m7s
Updated serve + unlighthouse docker ref
2023-12-29 13:27:44 +01:00

16 lines
331 B
Docker

FROM node:lts AS build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
COPY --from=build /app/dist /public
COPY --from=build /app/serve.json /public/serve.json
RUN rm -r /public/data/
ENV PORT 8081
EXPOSE 8081
CMD [ "serve", "public/", "-p", "8081" ]