Skip to content

Commit

Permalink
Update command in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Sep 15, 2023
1 parent aaf01cb commit 1ddb413
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
NEXT_PUBLIC_WEBSITE_URL: https://dev-stack.canopas.com
NEXT_PUBLIC_STRAPI_DOMAIN: ${{secrets.ADMIN_PANEL_URL}}
run: |
cd website
yarn add prettier
yarn lint
yarn build
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
parameter-overrides: >-
EnvName=dev,
ClusterName=canopas-blog-dev,
ImageTag=${{ github.sha }}-${{ github.run_attempt }}-dev-frontend,
ImageTag=${{ github.sha }}-${{ github.run_attempt }}-dev-blog,
NginxImageTag=${{ github.sha }}-${{ github.run_attempt }}-dev-nginx
4 changes: 2 additions & 2 deletions infrastructure/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Resources:
Image:
Fn::Sub: ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/canopas-blog:${ImageTag}
PortMappings:
- ContainerPort: 3080
HostPort: 3080
- ContainerPort: 3000
HostPort: 3000
Protocol: tcp

ECSService:
Expand Down

0 comments on commit 1ddb413

Please sign in to comment.