NewtonKimathi's picture
Docker file
adcf490
raw
history blame
419 Bytes
# Specifying the base image
FROM python:3.11
# Set the working directory to /Sepsis
WORKDIR /Sepsis
# Copy the current directory contents into the container at /Sepsis
COPY ./requirements.txt /Sepsis/requirements.txt
# Install requirements.txt
RUN pip install --no-cache-dir --upgrade -r /Sepsis/requirements.txt
EXPOSE 7860
COPY . .
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]