chore: Update Dockerfile to remove unnecessary SSH server configuration
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user