Skip to content

Commit

Permalink
refactor: use eb docker platform
Browse files Browse the repository at this point in the history
  • Loading branch information
raghav-rama committed Nov 28, 2024
1 parent 5a8e6ed commit cfc62df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: leveragefunbot
environment_name: Leveragefunbot-env-1
environment_name: Leveragefunbot-env
version_label: ${{ github.sha }}
region: ${{ secrets.AWS_REGION }}
deployment_package: deploy.zip
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN pnpm install

COPY . .

EXPOSE 8000
EXPOSE 8080

CMD [ "pnpm", "run", "start" ]
9 changes: 9 additions & 0 deletions Dockerrun.aws.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"AWSEBDockerrunVersion": "1",
"Ports": [
{
"ContainerPort": 8080,
"HostPort": 80
}
]
}

0 comments on commit cfc62df

Please sign in to comment.