From 314f5645a098c4c80efe985f4b0c6b5c99b3fc07 Mon Sep 17 00:00:00 2001 From: Matthew Hallsworth Date: Thu, 16 Nov 2023 15:05:15 +1100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d534898..673770f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,8 +15,7 @@ jobs: - name: Build docker image run: docker build -t dancer . - - name: Run docker image with entrypoint - run: docker run -d -p 3001:3000 --name dancer_container dancer - - - name: Validate endpoint works - run: curl -i http://localhost:3001 + - name: Run docker image with entrypoint and validate container + run: | + docker run -d -p 3001:3000 --name dancer_container dancer + curl -i http://localhost:3001