Skip to content

Commit

Permalink
Update prot references
Browse files Browse the repository at this point in the history
  • Loading branch information
conorheffron committed Sep 8, 2024
1 parent 7b419b2 commit 7c3820d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .aws/task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"memory": "256",
"portMappings": [
{
"name": "ironoc-80-tcp",
"containerPort": 80,
"hostPort": 80,
"name": "ironoc-8080-tcp",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/docker-image.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ VOLUME /tmp
#for local
#COPY target/*.war app.war
#for CI/CD
COPY target/ironoc-personal-portfolio-3.1.8.war app.war
COPY target/*.war app.war
RUN sh -c 'touch /app.war'

ENV RUN_FILE /run.sh
COPY run.sh ${RUN_FILE}
RUN chmod +x ${RUN_FILE}

EXPOSE 80
EXPOSE 8080

ENTRYPOINT [ "sh", "-c", "${RUN_FILE}" ]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ services:
portfolio:
image: ironoc
ports:
- "80:80"
- "8080:8080"

0 comments on commit 7c3820d

Please sign in to comment.