File size: 456 Bytes
443eb65
 
 
 
0e4775e
7db5fb1
 
0e4775e
 
 
 
 
 
 
7db5fb1
 
 
0e4775e
7db5fb1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.9

WORKDIR /Flask_APP

COPY ./requirements.txt /Flask_APP/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /Flask_APP/requirements.txt

COPY ./app.py /Flask_APP/app.py
COPY ./utils.py /Flask_APP/utils.py
COPY ./templates /Flask_APP/templates
COPY ./static /Flask_APP/static
COPY ./Pdfs /Flask_APP/Pdfs
COPY ./uploads /Flask_APP/uploads

ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=7860

CMD ["flask", "run"]