Compare commits

...

2 Commits
v2.3.1 ... v2

Author SHA1 Message Date
coward
9497729378 🐳消除打包时的docker警告
All checks were successful
continuous-integration/drone/tag Build is passing
2024-12-27 15:36:32 +08:00
coward
48a58759da 🐳修改dockerfile在编译时存在警告
All checks were successful
continuous-integration/drone/tag Build is passing
2024-12-27 15:16:44 +08:00

View File

@ -1,9 +1,9 @@
# 打包前端
FROM node:18-alpine as build-front
FROM node:18-alpine AS build-front
WORKDIR front
WORKDIR /front
COPY . .
WORKDIR web
WORKDIR ./web
RUN corepack enable
RUN corepack prepare pnpm@8.6.10 --activate
@ -13,7 +13,7 @@ RUN pnpm build
RUN ls -lh && pwd
# 前后端集成打包
FROM golang:alpine as build-backend
FROM golang:alpine AS build-backend
RUN apk add upx
WORKDIR /build