mirror of
https://github.com/norohind/FDEV-CAPI-Handler.git
synced 2025-06-07 19:03:21 +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 .
|
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 . .
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user