Spaces:
Runtime error
Runtime error
# Use the official Python base image | |
FROM python:3.9 | |
# Set the working directory in the container | |
WORKDIR /app | |
# Copy the current directory contents into the container at /app | |
COPY . /app | |
# Install Flask | |
RUN pip install flask | |
# Expose the Flask port | |
EXPOSE 7860 | |
# Define the command to run your application | |
CMD ["python", "app.py"] | |