feature(docker-image): allow custom nginx port within container (#4086)

* Use PORT to override nginx listen port when defined
* Add dockerignore to make build context smaller
This commit is contained in:
David Muto
2018-01-12 14:52:09 -05:00
committed by kyle
parent 64f99356a5
commit 5b1dbec9b0
3 changed files with 11 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ ENV OAUTH_REALM "**None**"
ENV OAUTH_APP_NAME "**None**"
ENV OAUTH_ADDITIONAL_PARAMS "**None**"
ENV SWAGGER_JSON "/app/swagger.json"
ENV PORT 80
ENV PORT 8080
ENV BASE_URL ""
RUN apk add --update nginx