Skip to content

Commit

Permalink
dockerfile + dockerrun
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed May 21, 2024
1 parent 8432f02 commit 93171a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ RUN pip install --no-cache-dir --upgrade .

# Run the FastAPI application.
CMD ["fastapi", "run", "store/app/main.py", "--port", "80"]
# CMD ["fastapi", "run", "store/app/main.py", "--port", "80", "--proxy-headers"]
12 changes: 12 additions & 0 deletions docker/Dockerrun.aws.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [
{
"name": "kscale-store",
"image": "725596835855.dkr.ecr.us-east-1.amazonaws.com/store:latest",
"essential": true,
"memory": 128,
"cpu": 10
}
]
}

0 comments on commit 93171a2

Please sign in to comment.