Spaces:
Runtime error
Runtime error
File size: 425 Bytes
945748a bf0a374 945748a a918c17 d83d82a 1a374ce adcf490 f7ce394 adcf490 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Specifying the base image
FROM python:3.11-slim
# 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"]
|