actually create user

This commit is contained in:
2023-01-29 09:59:01 -06:00
parent acea74be61
commit 8d9010801b

View File

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