This commit is contained in:
hackerESQ
2025-01-25 20:40:26 -06:00
parent 7bacc28e3b
commit 11cdf975bc
2 changed files with 1 additions and 6 deletions
+1 -5
View File
@@ -45,10 +45,8 @@ RUN composer install --no-scripts --optimize-autoloader
# Install Node dependencies and build assets
RUN npm install && npm run build
# Copy the custom Nginx configuration
# Copy over configs
COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf
# Copy over supervisor configuration
COPY ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Serve on port 80
@@ -57,8 +55,6 @@ EXPOSE 80
# Set up healthcheck
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -f http://localhost || exit 1
USER www-data
# Run everything else
ENTRYPOINT ["/bin/bash", "./docker/entrypoint.sh"]
CMD ["./docker/entrypoint.sh"]
-1
View File
@@ -1,7 +1,6 @@
[supervisord]
nodaemon=true
user=root
logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid
[program:nginx]