From cfa915142c2bbff8d1572488b6343e56dfef9b64 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Tue, 12 Jan 2021 16:57:26 -0800 Subject: Segregate BindAddr and BaseURL --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Dockerfile') 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"] -- cgit v1.2.3