[+] Full docker support

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
This commit is contained in:
Charles Le Maux 2024-07-02 07:02:18 +01:00
parent 6b20579fa2
commit 02692d3dac

View File

@ -1,3 +1,4 @@
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 -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> # Add ports using -p <your-port>:<docker-port>