This commit is contained in:
2023-01-29 10:23:00 -06:00
parent de64e4e944
commit a8d22ceb50
2 changed files with 2 additions and 6 deletions

View File

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