Skip to content

Commit

Permalink
Fix docker run command to avoid blocking cli
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfeucht committed Nov 21, 2023
1 parent 1fdb94e commit a72a0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sample-app-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
working-directory: ./sample/SampleLambda
run: dotnet lambda package SampleLambda --profile default --region us-west-1
- name: Run docker
run: docker run --rm -p 9000:8080 samplelambda:latest --detach
run: docker run --detach -p 9000:8080 samplelambda:latest
- name: Test function
run: curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'

0 comments on commit a72a0da

Please sign in to comment.