Skip to content

Commit cb72811

Browse files
author
Emmanuela Opurum
committed
update workflow
1 parent de7b4a1 commit cb72811

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN rm -rf /usr/share/nginx/html/*
77
# Copy your static site files into the container
88
COPY . /usr/share/nginx/html
99

10-
# Expose port 80
11-
EXPOSE 80
10+
# Expose port 90
11+
EXPOSE 90
1212

1313
# Start Nginx
1414
CMD ["nginx", "-g", "daemon off;"]

k8s/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ spec:
1818
- name: bank-site
1919
image: emma2323/bank-cicd-site:latest
2020
ports:
21-
- containerPort: 80
21+
- containerPort: 90

k8s/service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ spec:
88
type: NodePort
99
ports:
1010
- protocol: TCP
11-
port: 80
12-
targetPort: 80
11+
port: 90
12+
targetPort: 90
1313
nodePort: 30080

0 commit comments

Comments
 (0)