Set the MAILMAN_CONFIG_FILE environement variable in Dockerfile.

This commit is contained in:
Abhilash Raj
2017-05-23 16:17:00 -07:00
committed by Abhilash Raj
parent d4b0b74860
commit dbd4b0d5fa
2 changed files with 2 additions and 2 deletions

View File

@@ -22,4 +22,6 @@ EXPOSE 8001
ENTRYPOINT ["/opt/run.sh"]
ENV MAILMAN_CONFIG_FILE /config/mailman.cfg
CMD ["/usr/local/bin/master"]

View File

@@ -122,6 +122,4 @@ base_url: $HYPERKITTY_URL
api_key: $HYPERKITTY_API_KEY
EOF
export MAILMAN_CONFIG_FILE=/config/mailman.cfg
exec "$@"