CoolFace
Apppublic

KaedeShark/vertex

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1FROM python:3.11-slim
2
3WORKDIR /app
4
5# Install dependencies
6COPY app/requirements.txt .
7RUN pip install --no-cache-dir -r requirements.txt
8
9# Copy application code
10COPY app/ .
11
12# Create a directory for the credentials
13RUN mkdir -p /app/credentials
14
15# Expose the port
16EXPOSE 8050
17
18# Command to run the application
19# Use the default Hugging Face port 7860
20CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]