dockerise
This commit is contained in:
parent
4f842223cd
commit
9d760aafef
2
ref-test/.dockerignore
Normal file
2
ref-test/.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
env/
|
||||
__pycache__/
|
@ -1,5 +1,5 @@
|
||||
FROM python:3.10-alpine
|
||||
WORKDIR /app
|
||||
FROM python:3.10-slim
|
||||
WORKDIR /ref-test
|
||||
COPY . .
|
||||
RUN pip install -r requirements.txt
|
||||
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "app:app" ]
|
||||
RUN pip install --upgrade pip && pip install -r requirements.txt
|
||||
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "-w", "8", "main:app" ]
|
23
ref-test/requirements.txt
Normal file
23
ref-test/requirements.txt
Normal file
@ -0,0 +1,23 @@
|
||||
blinker==1.4
|
||||
cffi==1.15.0
|
||||
click==8.0.3
|
||||
cryptography==36.0.0
|
||||
dnspython==2.1.0
|
||||
dominate==2.6.0
|
||||
email-validator==1.1.3
|
||||
Flask==2.0.2
|
||||
Flask-Bootstrap==3.3.7.1
|
||||
Flask-Mail==0.9.1
|
||||
Flask-WTF==1.0.0
|
||||
gunicorn==20.1.0
|
||||
idna==3.3
|
||||
itsdangerous==2.0.1
|
||||
Jinja2==3.0.3
|
||||
MarkupSafe==2.0.1
|
||||
pip-autoremove==0.10.0
|
||||
pycparser==2.21
|
||||
pymongo==4.0
|
||||
python-dotenv==0.19.2
|
||||
visitor==0.1.3
|
||||
Werkzeug==2.0.2
|
||||
WTForms==3.0.0
|
0
src/html/robots.txt
Normal file
0
src/html/robots.txt
Normal file
Loading…
Reference in New Issue
Block a user