Docker test
Some checks failed
/ release (push) Has been skipped
/ checking (push) Successful in 11s
/ build-site (push) Failing after 12s

This commit is contained in:
Firq-ow 2024-01-09 20:03:09 +01:00
parent 9f607ff14d
commit 02acb9f4de
Signed by: Firq
GPG key ID: BC5CE35A72BDB4AB

View file

@ -1,13 +1,13 @@
FROM node:lts AS build FROM node:lts AS build
WORKDIR /app WORKDIR /site
COPY . . COPY . .
RUN npm i RUN npm i
RUN npm run build RUN npm run build
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
COPY --from=build /app/dist /public COPY --from=build /site/dist /public
COPY --from=build /app/serve.json /public/serve.json COPY --from=build /site/serve.json /public/serve.json
ENV PORT 8081 ENV PORT 8081
EXPOSE 8081 EXPOSE 8081