mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 05:51:31 +00:00
Expose WEB_PORT envvar instead of hardcoding the value directly after the envvar was defined
This commit is contained in:
parent
d916f5bc65
commit
ca59787cd4
@ -39,6 +39,6 @@ ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf"
|
|||||||
COPY supervisord.conf ${TFW_SUPERVISORD_CONF}
|
COPY supervisord.conf ${TFW_SUPERVISORD_CONF}
|
||||||
|
|
||||||
ENV WEB_PORT=4242
|
ENV WEB_PORT=4242
|
||||||
EXPOSE 4242
|
EXPOSE ${WEB_PORT}
|
||||||
|
|
||||||
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon
|
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon
|
||||||
|
Loading…
Reference in New Issue
Block a user