up
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
FROM node:20-alpine AS frontend
|
FROM mirrors2/alpine AS frontend
|
||||||
WORKDIR /frontend-build
|
WORKDIR /frontend-build
|
||||||
COPY ./frontend .
|
COPY ./frontend .
|
||||||
|
|
||||||
RUN npm install -g pnpm && pnpm i && pnpm build
|
# RUN npm install -g pnpm && pnpm i && pnpm build
|
||||||
|
|
||||||
FROM golang:1.23-alpine AS backend
|
FROM mirrors2/alpine AS backend
|
||||||
LABEL anther="github.com/Sakurasan"
|
LABEL anther="github.com/Sakurasan"
|
||||||
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
RUN apk --no-cache add make cmake upx
|
# RUN apk --no-cache add make cmake upx
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=frontend /frontend-build/dist /build/cmd/openteam/dist
|
COPY --from=frontend /frontend-build/dist /build/cmd/openteam/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user