nexcloud and docker cmds

This commit is contained in:
Dobromir Popov
2025-04-22 23:58:27 +03:00
parent 71244de771
commit dce99535f6
3 changed files with 53 additions and 1 deletions

View File

@ -8,4 +8,9 @@ scp my-next-app.tar user@your-server-ip:/path/to/directory
ssh user@your-server-ip
docker load < my-next-app.tar
# Step 5: Run the Docker Container
docker run -d -p 80:3000 my-next-app
docker run -d -p 80:3000 my-next-app
Run the entrypoint script in detached mode (so it continues even if your console disconnects):
nohup /app/entrypoint.sh > /app/logs/manual-update.log 2>&1 &