From 50bf4efc75f9ff92b51f0111703f7d28840a5faf Mon Sep 17 00:00:00 2001 From: Damillora Date: Wed, 5 Feb 2025 17:53:33 +0000 Subject: [PATCH] chore: update dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56601a2..8a3b3a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,11 @@ RUN go get -d -v ./... RUN go build -o /shioriko RUN mkdir -p /web && cp -r web/static /web -FROM node:18-alpine AS node_build +FROM node:20-alpine AS node_build WORKDIR /src COPY . . WORKDIR /src/web/app -RUN npm install -g pnpm && pnpm install && pnpm build +RUN npm install && npm run build FROM alpine AS runtime