Switched to alpine containers

This commit is contained in:
Firq 2024-07-16 20:21:53 +02:00
parent 5e4da25f8d
commit e4021c8d57
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.2.2-pre.8",
"version": "0.2.2-pre.9",
"scripts": {
"dev": "astro dev",
"start": "astro dev",