FROM python:3.10.11-alpine3.18 WORKDIR app/ COPY requirements.txt requirements.txt RUN pip3 install --upgrade pip setuptools wheel RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt RUN pip install Flask COPY . . RUN mkdir -p /app/sessions && \ chmod -R 777 /app/sessions RUN chmod 777 /app CMD ["python3", "app.py"]