major / Dockerfile
roshcheeku's picture
Create Dockerfile
ee0e2e6 verified
raw
history blame contribute delete
297 Bytes
# Base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app code
COPY . .
# Expose port (HF listens on 7860)
EXPOSE 7860
# Start the app
CMD ["python", "app.py"]