Switched to alpine containers
This commit is contained in:
parent
5e4da25f8d
commit
034d769e7e
2 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
|||
FROM node:21.5 AS build
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /site
|
||||
COPY . .
|
||||
RUN npm i
|
||||
RUN npm run astro telemetry disable
|
||||
RUN npm run build
|
||||
|
||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:0.1.3 AS runtime
|
||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
||||
|
||||
COPY --from=build /site/dist /public
|
||||
COPY --from=build /site/serve.json /public/serve.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue