Sepsis-FastAPI / Dockerfile
mbabazif
Add application file
3a75960
raw
history blame contribute delete
502 Bytes
FROM python:3.10
# Set the working directory inside the container
WORKDIR /code
# Copy the requirements.txt file into our working directory (/app) in the container
COPY ./requirements.txt /code/requirements.txt
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the app.py file into our working directory (/app) in the container
COPY . .
# Command to run when the container starts
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]