作者 Administrator

更新 Dockerfile

正在显示 1 个修改的文件 包含 1 行增加1 行删除
@@ -7,7 +7,7 @@ ENV APP_DIR $GOPATH/src/oppmg @@ -7,7 +7,7 @@ ENV APP_DIR $GOPATH/src/oppmg
7 # RUN CGO_ENABLED=0 go install -a std 7 # RUN CGO_ENABLED=0 go install -a std
8 8
9 RUN mkdir -p $APP_DIR 9 RUN mkdir -p $APP_DIR
10 -RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ 10 +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
11 && echo 'Asia/Shanghai' > /etc/timezone 11 && echo 'Asia/Shanghai' > /etc/timezone
12 # Set the entrypoint 12 # Set the entrypoint
13 #ENTRYPOINT (cd $APP_DIR && ./\src\oppmg) 13 #ENTRYPOINT (cd $APP_DIR && ./\src\oppmg)