NewtonKimathi's picture
Docker file
f7ce394
raw
history blame
420 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 8000
COPY . .
CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "8000"]