SuperKart-Backend / Dockerfile
dhani10's picture
Update Dockerfile
4820377 verified
Raw
History Blame Contribute Delete
309 Bytes
# Dockerfile
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Hugging Face Spaces expect app to listen on port 7860
EXPOSE 7860
# This ensures your app reads PORT from env (which Hugging Face sets to 7860)
CMD ["python", "app.py"]