Skip to content

Commit 1cb60d0

Browse files
committed
feat: install supervisor from PyPI
This allows us to drop Python from the base image (reducing the size) and use up to date supervisor version.
1 parent 7e72df8 commit 1cb60d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ sentry-sdk==2.47.0
5656
siphashc==2.7
5757
social-auth-app-django==5.6.0
5858
social-auth-core==4.8.1
59+
supervisor==4.3.0
5960
tesserocr==2.9.1
6061
tomlkit==0.13.3
6162
translate-toolkit==3.16.3

start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ set_real_ip_from 0.0.0.0/0;
321321
export WEB_RUNTIME_THREADS
322322

323323
# Execute supervisor
324-
exec supervisord \
324+
exec /app/venv/bin/supervisord \
325325
--loglevel="${SUPERVISOR_LOGLEVEL:-info}" \
326326
--logfile="${SUPERVISOR_LOGFILE:-/dev/null}" \
327327
--configuration=/etc/supervisor/supervisord.conf

0 commit comments

Comments
 (0)