From b2c4ea2cd08f4b06cbb7abbd81c10e751ca8ae4b Mon Sep 17 00:00:00 2001 From: coward Date: Tue, 4 Jun 2024 10:06:07 +0800 Subject: [PATCH] =?UTF-8?q?:whale:=E6=9B=B4=E6=96=B0dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index aaa3731..b84693e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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