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