Spaces:
Runtime error
Runtime error
File size: 392 Bytes
9b2c910 8e6748e 9b2c910 8e6748e 9b2c910 8e6748e 9b2c910 8e6748e 9b2c910 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# 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"] |