servii-backend/docker.sh

7 lines
276 B
Bash
Raw Normal View History

docker build -t servii-backend .
2024-09-10 00:38:24 +00:00
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