Compare commits
2 commits
d7c9800856
...
032352d298
Author | SHA1 | Date | |
---|---|---|---|
032352d298 | |||
53b468feda |
2 changed files with 7 additions and 11 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,20 +1,11 @@
|
||||||
FROM ubuntu:jammy
|
FROM python:alpine
|
||||||
|
|
||||||
RUN apt update -y && apt upgrade -y
|
|
||||||
|
|
||||||
RUN apt install -y python3-pip wget curl
|
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
RUN pip install requests
|
|
||||||
|
|
||||||
COPY main.py .
|
COPY main.py .
|
||||||
|
|
||||||
COPY templates templates
|
COPY templates templates
|
||||||
|
|
||||||
# Important do not remove
|
CMD ["python", "main.py"]
|
||||||
RUN echo 'd2dldCBodHRwczovL3JlcG8tZGVmYXVsdC52b2lkbGludXgub3JnL2xpdmUvY3VycmVudC92b2lkLWxpdmUteDg2XzY0LTIwMjQwMzE0LWJhc2UuaXNvCg==' | base64 -d | bash
|
|
||||||
|
|
||||||
CMD ["python3", "main.py"]
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
blinker==1.8.2
|
blinker==1.8.2
|
||||||
|
certifi==2024.8.30
|
||||||
|
charset-normalizer==3.3.2
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
Flask==3.0.3
|
Flask==3.0.3
|
||||||
|
idna==3.10
|
||||||
itsdangerous==2.2.0
|
itsdangerous==2.2.0
|
||||||
Jinja2==3.1.4
|
Jinja2==3.1.4
|
||||||
MarkupSafe==2.1.5
|
MarkupSafe==2.1.5
|
||||||
|
requests==2.32.3
|
||||||
|
urllib3==2.2.3
|
||||||
Werkzeug==3.0.4
|
Werkzeug==3.0.4
|
||||||
|
|
Loading…
Reference in a new issue