[+] Updated Docker config

This commit is contained in:
Charles Le Maux 2024-09-10 02:38:24 +02:00
parent 29aa5a40e3
commit fe2ad4e0a1

View File

@ -1,5 +1,6 @@
docker build -t servii-backend . 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 <image-id>
# Add ports using -p <your-port>:<docker-port> # Add ports using -p <your-port>:<docker-port>
# Minecraft servers access will be unavailable otherwise # Minecraft servers access will be unavailable otherwise