diff --git a/Dockerfile b/Dockerfile index ac73058c068cdfe89e31fdec854f10cb6e6c1602..8e20c0bcceab6f848cb5eddc60b28db6a8ee34d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./mc_openapi /code/mc_openapi COPY ./tests /code/tests +EXPOSE 80 + CMD ["uvicorn", "mc_openapi.api:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]