Dockerfile
This commit is contained in:
parent
a64aff18a6
commit
0ad00fa51b
|
@ -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 && \
|
||||||
|
|
Loading…
Reference in New Issue