This commit is contained in:
jiangyong27 2023-08-04 11:30:40 +08:00
parent 37f3ae7a26
commit d89ac5667b
1 changed files with 1 additions and 2 deletions

View File

@ -10,12 +10,11 @@ RUN export GOROOT=/usr/local/go1.18.2 && \
go mod tidy && \ go mod tidy && \
go build cmd/enterprise.go && \ go build cmd/enterprise.go && \
mv enterprise /app/bin && \ mv enterprise /app/bin && \
mv doc /app && \
cp -r conf /app && \ cp -r conf /app && \
cp start.sh /app && \ cp start.sh /app && \
chmod +x /app/start.sh chmod +x /app/start.sh
WORKDIR /app WORKDIR /app
EXPOSE 9281 EXPOSE 9283
CMD ["/app/start.sh"] CMD ["/app/start.sh"]