CoolFace
Apppublic

slickdata/sepsis-app-fastapi

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1# Use the official Python base image2FROM python:3.9-slim3 4# Set the working directory inside the container5WORKDIR /code6 7# Copy the requirements file to the working directory8COPY requirements.txt /code/requirements.txt9 10# Install the Python dependencies11RUN pip install -r requirements.txt12 13# Copy the application code to the working directory14COPY . /code15 16# Expose the port on which the application will run17EXPOSE 786018 19# Run the FastAPI application using uvicorn server20CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]21