Spaces:
Runtime error
Runtime error
# Use an official lightweight Python image as base | |
FROM python:3.11-slim | |
# Set the working directory inside the container | |
WORKDIR /app | |
# Copy the current directory contents into the container at /app | |
COPY . /app | |
# Install any dependencies specified in requirements.txt | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Define the command to run the application | |
CMD ["python", "app.py"] |