File size: 352 Bytes
9d8dfd9
09b15bb
9d8dfd9
09b15bb
 
 
 
 
9d8dfd9
09b15bb
 
9d8dfd9
 
 
09b15bb
9d8dfd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]