File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
4141
4242 - name : Test container manually
4343 run : |
44- docker run -d --name test-container -p 8080 local/test basic-lambda
45- sleep 5
44+ docker run -d --name test-container -p 9000: 8080 local/test basic-lambda
45+ sleep 1
4646 echo "Container logs after startup:"
4747 docker logs test-container
4848 echo "Attempting to invoke function:"
49- curl -XPOST "http://localhost:8080 /2015-03-31/functions/function/invocations" -d '{"command":"test"}' || echo "Invocation failed"
49+ curl -XPOST "http://localhost:9000 /2015-03-31/functions/function/invocations" -d '{"command":"test"}' || echo "Invocation failed"
5050 echo "Final container logs:"
5151 docker logs test-container
5252 docker kill test-container || true
You can’t perform that action at this time.
0 commit comments