Switched to alpine containers
This commit is contained in:
parent
5e4da25f8d
commit
e4021c8d57
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
|
WORKDIR /site
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm i
|
RUN npm i
|
||||||
RUN npm run astro telemetry disable
|
RUN npm run astro telemetry disable
|
||||||
RUN npm run build
|
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/dist /public
|
||||||
COPY --from=build /site/serve.json /public/serve.json
|
COPY --from=build /site/serve.json /public/serve.json
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "fgo-ta-com-website",
|
"name": "fgo-ta-com-website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.2-pre.8",
|
"version": "0.2.2-pre.9",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
|
|
Loading…
Reference in a new issue