Changes to Dockerfile to fix error in installing MongoDB

This commit is contained in:
Karmaa
2025-03-11 23:18:11 -05:00
parent 215d4c4f6a
commit d23ef45c1a
2 changed files with 12 additions and 27 deletions

View File

@@ -1,13 +1,11 @@
#!/bin/bash
#!/bin/sh
# Start NGINX
echo "Starting NGINX..."
# Start NGINX in background
nginx -g "daemon off;" &
# Start Node.js backend
echo "Starting Node.js backend..."
node /app/src/backend/ssh.cjs &
node /app/src/backend/database.cjs &
node src/backend/ssh.cjs
node src/backend/database.cjs
# Keep the container running
# Keep container running
wait