servii-backend/docker.sh
Charles Le Maux 02692d3dac [+] Full docker support
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
2024-07-02 07:02:18 +01:00

6 lines
319 B
Bash

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
# Add ports using -p <your-port>:<docker-port>
# Minecraft servers access will be unavailable otherwise