This commit is contained in:
Andras Bacsai
2023-04-27 12:25:32 +02:00
parent 4ff73893cb
commit f12ad10fce
5 changed files with 25 additions and 19 deletions

View File

@@ -22,5 +22,5 @@ RUN curl -sSL https://nixpacks.com/install.sh | bash
RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/docker /usr/local/bin/pack
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["sh", "-c", "while true; do sleep 69420; done"]
CMD ["sh", "-c", "while true; do sleep 3600; done"]

View File

@@ -1,2 +1,2 @@
#!/command/execlineb -P
php /var/www/html/artisan migrate --force --isolated
su - webuser -c "php /var/www/html/artisan migrate --force --isolated"