Skip to content
Snippets Groups Projects
Commit f5ad7e53 authored by Jan Hartig's avatar Jan Hartig
Browse files

Fix

parent df1f0563
No related branches found
No related tags found
No related merge requests found
Pipeline #29720 passed
.git
.gitignore
.gitlab.ci.yml
\ No newline at end of file
FROM harbor.ptb.de/dockerhub/python:3.11-bookworm as builder
FROM harbor.ptb.de/dockerhub/python:3.12-bookworm as builder
ENV DEBIAN_FRONTEND=noninteractive
# get curl for healthchecks and dependencies for pyAV
......@@ -15,7 +15,7 @@ RUN pip install --upgrade pip && \
pip wheel --wheel-dir /wheels uwsgi -r /tmp/requirements.txt
FROM harbor.ptb.de/dockerhub/python:3.11-slim-bookworm
FROM harbor.ptb.de/dockerhub/python:3.12-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
......@@ -54,7 +54,4 @@ EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=3s \
CMD curl -s -o /dev/null -f http://localhost:8080/health || exit 1
# upload folder
VOLUME /opt/app/uploads
CMD ["uwsgi", "uwsgi.ini"]
\ No newline at end of file
......@@ -3,6 +3,7 @@ strict
master
die-on-term
http-socket = :8080
processes = 1
processes = 2
auto-procname
chdir = /opt/app
\ No newline at end of file
chdir = /opt/app
module = server
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment