mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-15 08:41:02 +00:00
Merge pull request #164 from codysoyland/dockerfile-env-config
Use env variables instead of flags in Dockerfile
This commit is contained in:
commit
8b5848f615
1 changed files with 4 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue