mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
n
This commit is contained in:
@@ -26,12 +26,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 && \
|
||||
chmod -R 775 /var/* && \
|
||||
chown -R supervisor /var/*
|
||||
# RUN adduser --disabled-password --gecos '' supervisor && \
|
||||
RUN chmod -R 775 /var/* && \
|
||||
chown -R ubuntu:supervisor /var/*
|
||||
|
||||
# Entrypoint
|
||||
USER supervisor
|
||||
USER ubuntu:supervisor
|
||||
|
||||
# Start processes
|
||||
CMD ["/usr/bin/supervisord"]
|
||||
|
||||
Reference in New Issue
Block a user