diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b89db91 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.9 + +WORKDIR /code + +COPY ./requirements.txt /code/requirements.txt + +RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt + +COPY ./src /code/src + +CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "80"] + + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9149e66 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,15 @@ +annotated-types==0.5.0 +anyio==3.7.1 +click==8.1.6 +envyaml==1.10.211231 +exceptiongroup==1.1.2 +fastapi==0.100.0 +h11==0.14.0 +idna==3.4 +pydantic==2.1.1 +pydantic_core==2.4.0 +PyYAML==6.0.1 +sniffio==1.3.0 +starlette==0.27.0 +typing_extensions==4.7.1 +uvicorn==0.23.1