lifei6671 8 سال پیش
والد
کامیت
7ced70290f
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 0 1
      Dockerfile
  2. 1 1
      start.sh

+ 0 - 1
Dockerfile

@@ -8,7 +8,6 @@ ADD . /go/src/github.com/lifei6671/godoc
 
 WORKDIR /go/src/github.com/lifei6671/godoc
 
-RUN echo "" > /go/src/github.com/lifei6671/godoc/logs/log.log
 RUN chmod +x start.sh
 
 RUN  go get -d ./... && \

+ 1 - 1
start.sh

@@ -37,7 +37,7 @@ if [ ! -z $httpport ] ; then
 fi
 
 if [ ! -f "logs/log.log" ] ; then
-   cp uploads/.gitignore logs/log.log
+   echo "" > /go/src/github.com/lifei6671/godoc/logs/log.log
 fi
 
 ./$goFile