Skip to content

Commit

Permalink
building docker and running in the same job env
Browse files Browse the repository at this point in the history
  • Loading branch information
Taniya-Das committed Jul 12, 2023
1 parent ccf2bf5 commit 974cba9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
run: docker build --tag ai4eu_server_demo:latest -f Dockerfile .

- name: Run docker container
run: docker network create sql-network

- run: docker run --network sql-network -it --rm -p 8000:8000 --name apiserver ai4eu_server_demo
run: |
docker network create sql-network
docker run ai4eu_server_demo:latest
pip install pre-commit


Expand Down

0 comments on commit 974cba9

Please sign in to comment.