last one was stupid. this is less stupid.

This commit is contained in:
2023-01-29 09:47:39 -06:00
parent c60023f185
commit 1e9b2026cc

View File

@@ -28,10 +28,10 @@ COPY gunicorn.conf /etc/supervisor/conf.d/gunicorn.conf
# Permissions # Permissions
RUN chmod -R 775 /var/* RUN chmod -R 775 /var/*
RUN chown -R root /var/* RUN chown -R supervisor:supervisor /var/*
# Entrypoint # Entrypoint
USER root USER supervisor:supervisor
# Start processes # Start processes
CMD ["sudo", "/usr/bin/supervisord"] CMD ["/usr/bin/supervisord"]