chore: Update Dockerfile to remove unnecessary SSH server configuration

This commit is contained in:
2024-07-06 20:13:37 +02:00
parent 13cd0e1ea2
commit 50e9c8c76b
5 changed files with 227 additions and 25 deletions
+4
View File
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon 
rm -r linux-presets/
# Check if the required environment variables are set
if [ -z "$REPO_URL" ]; then
echo "Error: REPO_URL environment variable must be set."
@@ -49,6 +52,7 @@ fi
# Start the cron service
service cron start
nohup teleport start &
# Start the application with pm2
exec pm2-runtime "php artisan serve --host=0.0.0.0 --port=8000"