From 8cf18a3dc334bf3e39e05bf9c3fa9ec7dc9817f2 Mon Sep 17 00:00:00 2001 From: Sciocatti Date: Sat, 7 Jan 2023 18:31:43 +0200 Subject: [PATCH] Fixed incorrect mapped port. --- cicd/main/Dockerfile | 2 +- cicd/prod/Dockerfile | 2 +- cicd/stage/Dockerfile | 2 +- start.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cicd/main/Dockerfile b/cicd/main/Dockerfile index 3a7e7af..039acc1 100644 --- a/cicd/main/Dockerfile +++ b/cicd/main/Dockerfile @@ -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 \ No newline at end of file diff --git a/cicd/prod/Dockerfile b/cicd/prod/Dockerfile index 3a7e7af..039acc1 100644 --- a/cicd/prod/Dockerfile +++ b/cicd/prod/Dockerfile @@ -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 \ No newline at end of file diff --git a/cicd/stage/Dockerfile b/cicd/stage/Dockerfile index 3a7e7af..039acc1 100644 --- a/cicd/stage/Dockerfile +++ b/cicd/stage/Dockerfile @@ -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 \ No newline at end of file diff --git a/start.sh b/start.sh index 9aef9ad..1cb272d 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,6 @@ #!/bin/bash echo "" -echo "Starting an Nginx container listening on http://localhost:3000" +echo "Starting an Nginx container listening on http://localhost:3030" echo "" echo "" -docker run --rm -v $(pwd)/html/:/usr/share/nginx/html/ -p 3030:80 192.168.195.195:30001/nginx:latest \ No newline at end of file +docker run --rm -v $(pwd)/html/:/usr/share/nginx/html/ -p 3030:80 192.168.195.195:30000/nginx:latest \ No newline at end of file