Dockerfile

This commit is contained in:
jiangyong 2025-03-09 00:06:17 +08:00
parent a64aff18a6
commit 0ad00fa51b
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ RUN export GOROOT=/usr/local/go1.21.4 && \
export GOPRIVATE=gitlab.batiao8.com && \ export GOPRIVATE=gitlab.batiao8.com && \
export PATH=$PATH:$GOROOT/bin && \ export PATH=$PATH:$GOROOT/bin && \
go mod tidy && \ go mod tidy && \
go build cmd/worker/enterprise-api.go && \ go build cmd/worker/enterprise-worker.go && \
go build cmd/server/enterprise-worker.go && \ go build cmd/server/enterprise-api.go && \
mv enterprise-api /app/bin && \ mv enterprise-api /app/bin && \
mv enterprise-worker /app/bin && \ mv enterprise-worker /app/bin && \
cp -r conf /app && \ cp -r conf /app && \