Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryosuke Tomita committed Dec 17, 2023
1 parent 9d41946 commit 5ddd045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions copilot/pipelines/react-app-pipeline/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ phases:
- ls -lah ./infrastructure
- for f in ./infrastructure/*; do echo $f; cat $f; done
# Run trivy scan on the docker images.
- trivy image --vuln-type os --no-progress --format table -o container-scanning-report.txt --severity CRITICAL,HIGH $(jq -r '.services[].image' ./infrastructure/prod-svc-prod-env.stack.yml)
- cat container-scanning-report.txt
# - trivy image --vuln-type os --no-progress --format table -o container-scanning-report.txt --severity CRITICAL,HIGH $(jq -r '.services[].image' ./infrastructure/prod-svc-prod-env.stack.yml)
# - cat container-scanning-report.txt
artifacts:
files:
- "infrastructure/*"
2 changes: 1 addition & 1 deletion docker_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
##########################################################################
docker rmi react-app:latest -f
docker build -t react-app:latest . --no-cache
docker run -p 80:8080 react-app:latest # -p localport:containerport
docker run -d -p 80:8080 react-app:latest # -p localport:containerport

# open your browser and go to `localhost:80`.

0 comments on commit 5ddd045

Please sign in to comment.