mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-22 18:38:37 +08:00
@@ -1,15 +1,11 @@
|
||||
|
||||
FROM golang:1.23.0-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go env -w GOPROXY=https://goproxy.cn,direct && go mod download
|
||||
|
||||
RUN go build -o pandax
|
||||
|
||||
|
||||
FROM alpine:latest
|
||||
LABEL MAINTAINER="PandaX"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user