1
0
mirror of https://github.com/beego/bee.git synced 2024-12-26 01:10:50 +00:00

Merge pull request #385 from scrpgil/develop

Change to execution directory used by dockerBuildTemplate
This commit is contained in:
Faissal Elamraoui 2017-03-20 15:33:59 +01:00 committed by GitHub
commit 69023e9ae0

View File

@ -40,7 +40,7 @@ ENV APP_DIR $GOPATH{{.Appdir}}
RUN mkdir -p $APP_DIR
# Set the entrypoint
ENTRYPOINT $APP_DIR/{{.Entrypoint}}
ENTRYPOINT (cd $APP_DIR && ./{{.Entrypoint}})
ADD . $APP_DIR
# Compile the binary and statically link