servii-backend/docker.sh
2024-09-10 02:38:24 +02:00

7 lines
276 B
Bash

docker build -t servii-backend .
docker run -d --restart=unless-stopped docker --network host -v $(pwd)/users:/app/users -p 3000:3000 -p 3500-25565:3500-25565 <image-id>
# Add ports using -p <your-port>:<docker-port>
# Minecraft servers access will be unavailable otherwise