Fixes for docker

This commit is contained in:
norohind committed 2023-11-29 17:08:32 +03:00
1 parent f7f40738d0
commit 33d776cd70
4 files changed
+5 -3

No files matched your search

+2
View File
@@ -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
View File
@@ -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
View File
@@ -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
-1
View File
@@ -1,5 +1,4 @@
import falcon import falcon
import waitress
import json import json
import random import random