godev2
This commit is contained in:
parent
ad7119d169
commit
7f7cc19059
13
Dockerfile
13
Dockerfile
|
@ -4,18 +4,7 @@ WORKDIR /app/src
|
|||
|
||||
RUN mkdir -p /app/bin /app/log
|
||||
|
||||
RUN export GOROOT=/usr/local/go1.23.1 && \
|
||||
export GOPROXY=https://goproxy.cn && \
|
||||
export GOPRIVATE=gitlab.batiao8.com && \
|
||||
export PATH=$PATH:$GOROOT/bin && \
|
||||
go mod tidy && \
|
||||
go build cmd/worker/enterprise-worker.go && \
|
||||
go build cmd/server/enterprise-api.go && \
|
||||
mv enterprise-api /app/bin && \
|
||||
mv enterprise-worker /app/bin && \
|
||||
cp -r conf /app && \
|
||||
cp start.sh /app && \
|
||||
chmod +x /app/start.sh
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 9283
|
||||
|
|
Loading…
Reference in New Issue