mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 04:17:51 +00:00
Use env variables instead of flags in Dockerfile
This allows you to override those attributes without overriding the entire command.
This commit is contained in:
parent
93a804f7ab
commit
c6a293f818
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