From a72a0da375d790f23b5f2ab3a8d28a8457dedcf2 Mon Sep 17 00:00:00 2001 From: Brian Feucht Date: Mon, 20 Nov 2023 16:09:00 -0800 Subject: [PATCH] Fix docker run command to avoid blocking cli --- .github/workflows/sample-app-docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample-app-docker-build.yml b/.github/workflows/sample-app-docker-build.yml index dee11cd..0408d21 100644 --- a/.github/workflows/sample-app-docker-build.yml +++ b/.github/workflows/sample-app-docker-build.yml @@ -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 '{}'