Fixes dev environment setup script

This commit is contained in:
Dane Everitt 2022-02-13 12:21:47 -05:00
parent a16908fd7e
commit 65b3474604
3 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
FROM debian:11-slim
LABEL maintainer="dane@daneeveritt.com" \
description="Docker image allowing Pterodactyl Panel to run using Vagrant." \
description="Local development environment for Pterodactyl Panel." \
org.opencontainers.image.source=https://github.com/pterodactyl/development
ENV DEBIAN_FRONTEND noninteractive \
@ -49,7 +49,7 @@ RUN apt -y update \
COPY entrypoint /usr/local/bin/entrypoint
COPY setup-pterodactyl /usr/local/bin/setup-pterodactyl
COPY configs/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY configs/supervisord.conf /etc/supervisord.conf
COPY configs/pterodactyl.conf /etc/nginx/sites-available/pterodactyl.conf
RUN useradd -m pterodactyl \

View File

@ -28,5 +28,5 @@ if [ $# -gt 0 ]; then
sudo su -c "/bin/bash"
else
sudo service cron start
sudo /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
sudo /usr/bin/supervisord -c /etc/supervisord.conf -n
fi

View File

@ -14,7 +14,6 @@ yarn install --no-progress
sudo chmod -R 775 storage/* bootstrap/cache
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start pteroq:*
sudo supervisorctl restart nginx
sudo service cron restart
# Forces supervisord to restart all of the processes with updated configurations.
sudo killall php-fpm8.0 php nginx