mirror of
https://github.com/norohind/FDEV-CAPI-Handler.git
synced 2025-04-12 05:50:00 +03:00
Fixes for docker
This commit is contained in:
parent
f7f40738d0
commit
33d776cd70
@ -20,6 +20,8 @@ COPY --from=builder /app/wheels /wheels
|
||||
COPY --from=builder /app/requirements.txt .
|
||||
|
||||
RUN pip install --no-cache /wheels/*
|
||||
RUN mkdir -p /data && chown user:user /data
|
||||
|
||||
USER user
|
||||
COPY . .
|
||||
|
||||
|
@ -3,5 +3,5 @@
|
||||
set -eu
|
||||
|
||||
python3 generate_uswgi_config.py
|
||||
exec uwsgi -c /tmp/uwsgi.ini
|
||||
exec uwsgi /tmp/uwsgi.ini
|
||||
|
||||
|
@ -4,4 +4,5 @@ falcon==3.0.1
|
||||
idna==2.10
|
||||
requests==2.25.1
|
||||
urllib3==1.26.6
|
||||
waitress==2.0.0
|
||||
# waitress==2.0.0
|
||||
uwsgi
|
||||
|
Loading…
x
Reference in New Issue
Block a user