generated from Templates/html-nginx-deployment
Fixed incorrect mapped port.
Some checks failed
Home Cluster Builds/wedding-page/pipeline/head There was a failure building this commit
Some checks failed
Home Cluster Builds/wedding-page/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
4
start.sh
4
start.sh
@@ -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
|
||||||
Reference in New Issue
Block a user