Skip to content
Snippets Groups Projects
Commit faf7e020 authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

adds EXPOSE to help traefik to decide the port to redirect to

parent 75809326
Branches
No related tags found
No related merge requests found
...@@ -9,4 +9,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt ...@@ -9,4 +9,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./mc_openapi /code/mc_openapi COPY ./mc_openapi /code/mc_openapi
COPY ./tests /code/tests COPY ./tests /code/tests
EXPOSE 80
CMD ["uvicorn", "mc_openapi.api:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"] CMD ["uvicorn", "mc_openapi.api:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment