Compare commits
2 Commits
bc946e62e2
...
63f67c7188
| Author | SHA1 | Date | |
|---|---|---|---|
| 63f67c7188 | |||
| bfebad5e5d |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
.venv
|
||||||
.env
|
.env
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
**/*.pem
|
**/*.pem
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
FROM alpine:3.23
|
FROM alpine:3.23
|
||||||
|
|
||||||
RUN apk add --no-cache python3 py3-pip
|
RUN apk add --no-cache python3 py3-pip
|
||||||
RUN pip3 install --break-system-packages flask flask-httpauth gunicorn requests jmespath
|
|
||||||
|
# Copy requirements and install Python packages
|
||||||
|
COPY requirements.txt /tmp/requirements.txt
|
||||||
|
RUN pip3 install --break-system-packages -r /tmp/requirements.txt
|
||||||
|
|
||||||
# Clean up apk cache
|
# Clean up apk cache
|
||||||
RUN rm -rf /var/cache/apk/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
|||||||
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
flask
|
||||||
|
flask-httpauth
|
||||||
|
gunicorn
|
||||||
|
requests
|
||||||
|
jmespath
|
||||||
Reference in New Issue
Block a user