FactSight / Dockerfile
DeepActionPotential's picture
Update Dockerfile
1b378f9 verified
raw
history blame
345 Bytes
FROM python:3.12-slim
WORKDIR /app
Copy the requirements file into the container
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install gunicorn
Copy all application code (including app.py and any static files) into the container
COPY . .
CMD exec gunicorn --bind :7860 --workers 1 --threads 8 app:app