tacab_api / Dockerfile
zakihassan04's picture
Rename dockerfile to Dockerfile
2a3a922 verified
raw
history blame contribute delete
323 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
COPY data/gpt2_ready_filtered.jsonl ./data/
# Expose for Spaces
EXPOSE 7860
# Run with Uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]