Spaces:
Running
Running
FROM python:3.9 | |
# Install dependencies | |
COPY requirements.txt /app/ | |
RUN pip install -r /app/requirements.txt | |
# Copy app files | |
COPY app_name /app/app_name/ | |
COPY static/ /app/static/ | |
COPY templates/ /app/templates/ | |
# Set working directory | |
WORKDIR /app/app_name | |
# Set the command to run the app | |
CMD ["python", "app.py"] | |