fix:fail to start with docker-compose

This commit is contained in:
huangjunwei
2021-04-12 16:03:49 +08:00
parent ae5ec006ba
commit 751a10d91e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ RUN sh ./server-handle.sh
RUN rm -f server-handle.sh
RUN cat ./config.yaml
RUN go env && go build -o server .
RUN go env && go mod tidy && go build -o server .
FROM alpine:latest
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"