Fixed incorrect mapped port.
Some checks failed
Home Cluster Builds/wedding-page/pipeline/head There was a failure building this commit

This commit is contained in:
2023-01-07 18:31:43 +02:00
parent bcc7434d7d
commit 8cf18a3dc3
4 changed files with 5 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
FROM 192.168.195.195:30001/nginx:latest FROM 192.168.195.195:30000/nginx:latest
COPY html /usr/share/nginx/html COPY html /usr/share/nginx/html

View File

@@ -1,3 +1,3 @@
FROM 192.168.195.195:30001/nginx:latest FROM 192.168.195.195:30000/nginx:latest
COPY html /usr/share/nginx/html COPY html /usr/share/nginx/html

View File

@@ -1,3 +1,3 @@
FROM 192.168.195.195:30001/nginx:latest FROM 192.168.195.195:30000/nginx:latest
COPY html /usr/share/nginx/html COPY html /usr/share/nginx/html

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
echo "" echo ""
echo "Starting an Nginx container listening on http://localhost:3000" echo "Starting an Nginx container listening on http://localhost:3030"
echo "" echo ""
echo "" echo ""
docker run --rm -v $(pwd)/html/:/usr/share/nginx/html/ -p 3030:80 192.168.195.195:30001/nginx:latest docker run --rm -v $(pwd)/html/:/usr/share/nginx/html/ -p 3030:80 192.168.195.195:30000/nginx:latest