mirror of
https://github.com/norohind/FDEV-CAPI-Handler.git
synced 2026-11-20 01:52:22 +03:00
Fixes for docker
This commit is contained in:
1 parent
f7f40738d0
commit
33d776cd70
4 files changed
+5
-3
No files matched your search
@@ -20,6 +20,8 @@ COPY --from=builder /app/wheels /wheels
|
|||||||
COPY --from=builder /app/requirements.txt .
|
COPY --from=builder /app/requirements.txt .
|
||||||
|
|
||||||
RUN pip install --no-cache /wheels/*
|
RUN pip install --no-cache /wheels/*
|
||||||
|
RUN mkdir -p /data && chown user:user /data
|
||||||
|
|
||||||
USER user
|
USER user
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,5 +3,5 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
python3 generate_uswgi_config.py
|
python3 generate_uswgi_config.py
|
||||||
exec uwsgi -c /tmp/uwsgi.ini
|
exec uwsgi /tmp/uwsgi.ini
|
||||||
|
|
||||||
+2
-1
@@ -4,4 +4,5 @@ falcon==3.0.1
|
|||||||
idna==2.10
|
idna==2.10
|
||||||
requests==2.25.1
|
requests==2.25.1
|
||||||
urllib3==1.26.6
|
urllib3==1.26.6
|
||||||
waitress==2.0.0
|
# waitress==2.0.0
|
||||||
|
uwsgi
|
||||||
Reference in new issue
Block a user