Spaces:
Runtime error
Runtime error
File size: 320 Bytes
f7ea4d6 025d52b ec24518 f7ea4d6 ec24518 833b970 7c54938 ec24518 f7ea4d6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# Use Python 3.10 slim as base image
FROM python:3.10-slim
WORKDIR /app
# Copy your app code and requirements
COPY . /app
RUN pip install --upgrade pip setuptools wheel
RUN pip install --prefer-binary -r requirements.txt
# Expose port and run the app
EXPOSE 5000
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"] |