This commit is contained in:
jiangyong27 2025-03-06 17:49:31 +08:00
parent 571d0e6261
commit b9c0e5174e
4 changed files with 5 additions and 5 deletions

View File

@ -9,10 +9,10 @@ RUN export GOROOT=/usr/local/go1.21.4 && \
export GOPRIVATE=gitlab.batiao8.com && \
export PATH=$PATH:$GOROOT/bin && \
go mod tidy && \
go build cmd/worker/worker.go && \
go build cmd/server/server.go && \
mv server /app/bin && \
mv worker /app/bin && \
go build cmd/worker/enter_worker.go && \
go build cmd/server/enter_server.go && \
mv enter_server /app/bin && \
mv enter_worker /app/bin && \
cp -r conf /app && \
cp start.sh /app && \
chmod +x /app/start.sh

View File

@ -4,7 +4,7 @@ ROOT=$(cd `dirname $0`; pwd)
cd $ROOT
if [ "$BINARY" = "" ];then
BINARY="server"
BINARY="enter_server"
fi
while [ true ];do