CoolFace
Apppublic

smart-models/Placebo_AI

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
Dockerfile22 linesDownload Raw Back to root
1# Use an official Python runtime as a parent image2FROM python:3.10-slim3 4# Set the working directory in the container5WORKDIR /app6 7# Install unzip utility8RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*9 10# Copy all uploaded files into the container11COPY . /app12 13 14# Install any needed packages specified in requirements.txt15RUN pip install --no-cache-dir -r requirements.txt16 17# Make port 7860 available to the world outside this container18EXPOSE 786019 20# Run uvicorn server on the port expected by Hugging Face (7860)21CMD ["uvicorn", "src.app:app", "--host", "0.0.0.0", "--port", "7860"]22