FROM python:3.9-slim | |
WORKDIR /app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
RUN echo "Installed required Python packages." | |
COPY frontend/ ./frontend | |
EXPOSE 7860 | |
CMD ["python", "frontend/flask_app.py"] |
FROM python:3.9-slim | |
WORKDIR /app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
RUN echo "Installed required Python packages." | |
COPY frontend/ ./frontend | |
EXPOSE 7860 | |
CMD ["python", "frontend/flask_app.py"] |