mirror of
https://github.com/Damillora/Shioriko.git
synced 2025-02-23 17:33:39 +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 go build -o /shioriko
|
||||||
RUN mkdir -p /web && cp -r web/static /web
|
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
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/web/app
|
WORKDIR /src/web/app
|
||||||
RUN npm install -g pnpm && pnpm install && pnpm build
|
RUN npm install && npm run build
|
||||||
|
|
||||||
FROM alpine AS runtime
|
FROM alpine AS runtime
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user