Spaces:
Sleeping
Sleeping
File size: 474 Bytes
082c4f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Use a standard Hugging Face base image with Python 3.12
FROM huggingface/base-python:3.12
# Copy all your application files into the container's /app directory
WORKDIR /app
COPY . .
# Make the setup script executable
RUN chmod +x setup.sh
# Run the setup script to install all dependencies
# This happens only ONCE when the Space is being built.
RUN ./setup.sh
# This command runs your application every time the Space starts up
CMD ["python", "app.py"] |