This commit is contained in:
parent
6d4f4b2e02
commit
b2c4ea2cd0
@ -3,16 +3,11 @@ FROM node:18-alpine as build-stage
|
||||
WORKDIR ./web-src
|
||||
RUN corepack enable
|
||||
RUN corepack prepare pnpm@8.6.10 --activate
|
||||
|
||||
RUN npm config set registry https://registry.npmmirror.com
|
||||
|
||||
COPY .npmrc package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
FROM golang:alpine as build
|
||||
|
||||
RUN apk add upx
|
||||
|
Loading…
Reference in New Issue
Block a user