1
0
mirror of https://github.com/beego/bee.git synced 2024-06-16 19:03:32 +00:00

Fix mistake of execution directory by dockerBuldTemplate

This commit is contained in:
scrpgil 2017-03-20 22:57:09 +09:00
parent 9760ce6623
commit 32e7b144f9

View File

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