Commit 8f431103 authored by Greg Taylor's avatar Greg Taylor

Bind the server to 0.0.0.0 to allow exporting our exposed port.

parent 43bccaa9
......@@ -6,8 +6,10 @@ COPY wheeldir /opt/app/wheeldir
# These are copied and installed first in order to take maximum advantage
# of Docker layer caching (if enabled).
COPY *requirements.txt /opt/app/src/
RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir -r /opt/app/src/requirements.txt
RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir -r /opt/app/src/test-requirements.txt
RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir \
-r /opt/app/src/requirements.txt
RUN pip install --use-wheel --no-index --find-links=/opt/app/wheeldir \
-r /opt/app/src/test-requirements.txt
COPY . /opt/app/src/
WORKDIR /opt/app/src
......
......@@ -8,4 +8,4 @@ def hello():
if __name__ == "__main__":
app.run()
app.run(host='0.0.0.0', port=5000)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment