Merge pull request #164 from codysoyland/dockerfile-env-config

Use env variables instead of flags in Dockerfile
This commit is contained in:
Cody Soyland 2020-03-12 14:44:45 -05:00 committed by GitHub
commit 8b5848f615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,5 +21,8 @@ COPY NOTICE /NOTICE
EXPOSE 10101
VOLUME /data
ENV PILOSA_DATA_DIR /data
ENV PILOSA_BIND http://0.0.0.0:10101
ENTRYPOINT ["/pilosa"]
CMD ["server", "--data-dir", "/data", "--bind", "http://0.0.0.0:10101"]
CMD ["server"]