We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f9935 commit 5b1dbecCopy full SHA for 5b1dbec
.dockerignore
@@ -0,0 +1,7 @@
1
+/.git
2
+/.github
3
+/dev-helpers
4
+/docs
5
+/src
6
+/swagger-ui-dist-package
7
+/test
Dockerfile
@@ -12,7 +12,7 @@ ENV OAUTH_REALM "**None**"
12
ENV OAUTH_APP_NAME "**None**"
13
ENV OAUTH_ADDITIONAL_PARAMS "**None**"
14
ENV SWAGGER_JSON "/app/swagger.json"
15
-ENV PORT 80
+ENV PORT 8080
16
ENV BASE_URL ""
17
18
RUN apk add --update nginx
docker-run.sh
@@ -53,4 +53,7 @@ if [[ -n "$VALIDATOR_URL" ]]; then
53
unset TMP_VU
54
fi
55
56
+# replace the PORT that nginx listens on if supplied
57
+if [[ -n "${PORT}" ]]; then sed -i "s|8080|${PORT}|g" /etc/nginx/nginx.conf; fi
58
+
59
exec nginx -g 'daemon off;'
0 commit comments