1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 20:10:55 +00:00

Merge pull request #382 from scrpgil/develop

fix docker build error by dockerBuildTemplate
This commit is contained in:
Sergey Lanzman 2017-03-19 15:38:10 +02:00 committed by GitHub
commit 9760ce6623

View File

@ -44,8 +44,7 @@ ENTRYPOINT $APP_DIR/{{.Entrypoint}}
ADD . $APP_DIR ADD . $APP_DIR
# Compile the binary and statically link # Compile the binary and statically link
RUN cd $APP_DIR RUN cd $APP_DIR && CGO_ENABLED=0 godep go build -ldflags '-d -w -s'
RUN CGO_ENABLED=0 godep go build -ldflags '-d -w -s'
EXPOSE {{.Expose}} EXPOSE {{.Expose}}
` `