mirror of
https://github.com/Damillora/Shioriko.git
synced 2025-02-23 09:23:38 +00:00
chore: update dockerfile
This commit is contained in:
parent
f9fd7d152e
commit
50bf4efc75
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user