diff --git a/Dockerfile b/Dockerfile index 11cecf5..ee69b6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,6 +49,6 @@ RUN apt-get update && apt-get install -y curl COPY --from=build /dist/*.whl /package/. RUN pip install *.whl -EXPOSE 8000 +EXPOSE 80 USER python diff --git a/ml_pipelines/deployment/aws/serve.py b/ml_pipelines/deployment/aws/serve.py index 49e32b4..0710c70 100644 --- a/ml_pipelines/deployment/aws/serve.py +++ b/ml_pipelines/deployment/aws/serve.py @@ -50,7 +50,7 @@ def main( load_data=False, ) - uvicorn_kwargs: dict = {} + uvicorn_kwargs: dict = {"port": 80} run_serve( # noqa: PLR0913 train_version=train_version, get_train_artifacts_func=get_train_artifacts_func,