FROM python:3.10-slim WORKDIR /app COPY . /app RUN mkdir -p uploads && chmod 755 uploads RUN pip install --no-cache-dir -r requirements.txt EXPOSE 80 ENV FLASK_APP=app.py ENV FLASK_RUN_HOST=0.0.0.0 CMD ["flask", "run", "--host=0.0.0.0", "--port=80"]