try supervisord
This commit is contained in:
@@ -39,7 +39,13 @@ COPY . .
|
||||
RUN composer dump-autoload --optimize
|
||||
|
||||
# Copy nginx configuration
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/sites-available/default
|
||||
|
||||
# Copy supervisor configuration
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p /var/log/supervisor
|
||||
|
||||
# Expose port
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user