aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2021-01-12 16:57:26 -0800
committerRaul Benencia <46945030+raul-te@users.noreply.github.com>2021-01-13 10:50:35 -0800
commitcfa915142c2bbff8d1572488b6343e56dfef9b64 (patch)
tree66961e8009fb10e84ddec3b55633d8cd4769cff8 /Dockerfile
parentfa13436d4ceba235081c9eedb8d6f586ea21e7aa (diff)
Segregate BindAddr and BaseURL
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c9da89..b2c4904 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,9 @@ COPY --from=build /tmp/shoelaces /shoelaces
WORKDIR /data
COPY --from=build /tmp/mappings.yaml mappings.yaml
COPY --from=build /shoelaces/web /web
-ENV DOMAIN=0.0.0.0
-ENV PORT=8081
+
+ENV BIND_ADDR=0.0.0.0:8081
+EXPOSE 8081
+
ENTRYPOINT ["/shoelaces"]
CMD ["-data-dir", "/data", "-static-dir", "/web"]
nihil fit ex nihilo