mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[SIS-xxx] adding rendering of current Debra donation information
updating for Debra 2023 campaign adding internal rest api for debra information adding a debra button to receive information
This commit is contained in:
@@ -5,6 +5,10 @@ services:
|
||||
build:
|
||||
context: sissi
|
||||
image: ${REGISTRY_PREFIX}sissi-bot:${VERSION:-latest}
|
||||
rest-api:
|
||||
build:
|
||||
context: rest-api
|
||||
image: ${REGISTRY_PREFIX}sissi-rest-api:${VERSION:-latest}
|
||||
db-data:
|
||||
build:
|
||||
context: db-data
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
FROM python:3.10.13-alpine3.18
|
||||
ADD requirements.txt /
|
||||
RUN pip install -r requirements.txt
|
||||
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
|
||||
update-ms-fonts && \
|
||||
fc-cache -f
|
||||
ADD wrapper /
|
||||
ADD python /python
|
||||
CMD ["/run.sh"]
|
||||
1
deployment/image-packaging/src/main/docker/rest-api/python/.gitignore
vendored
Normal file
1
deployment/image-packaging/src/main/docker/rest-api/python/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*
|
||||
@@ -0,0 +1,16 @@
|
||||
blinker==1.7.0
|
||||
certifi==2023.7.22
|
||||
charset-normalizer==3.3.2
|
||||
click==8.1.7
|
||||
Flask==3.0.0
|
||||
idna==3.4
|
||||
importlib-metadata==6.8.0
|
||||
itsdangerous==2.1.2
|
||||
Jinja2==3.1.2
|
||||
MarkupSafe==2.1.3
|
||||
Pillow==10.1.0
|
||||
requests==2.31.0
|
||||
urllib3==2.0.7
|
||||
waitress==2.1.2
|
||||
Werkzeug==3.0.1
|
||||
zipp==3.17.0
|
||||
4
deployment/image-packaging/src/main/docker/rest-api/wrapper/run.sh
Executable file
4
deployment/image-packaging/src/main/docker/rest-api/wrapper/run.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Starting python server..."
|
||||
python3 -u python/main.py
|
||||
Reference in New Issue
Block a user