diff --git a/docker.sh b/docker.sh index 5373050..3b7facf 100644 --- a/docker.sh +++ b/docker.sh @@ -1,5 +1,6 @@ docker build -t servii-backend . -docker run -d --restart=unless-stopped -p 3000:3000 -v /home/hapso/Desktop/servii-backend/servers:/app/servers -v /home/hapso/Desktop/servii-backend/users:/app/users servii-backend +docker run -d --restart=unless-stopped docker --network host -v $(pwd)/users:/app/users -p 3000:3000 -p 3500-25565:3500-25565 + # Add ports using -p : # Minecraft servers access will be unavailable otherwise