Skip to content

Commit

Permalink
Bug fix in Dockerfile and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aditeyabaral committed Jun 18, 2023
1 parent 6b38907 commit ea9855e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ jobs:
- name: Build the Docker image
run: docker build . --tag pesu-auth
- name: Spawn a container
run: docker run --name pesu-auth -d -p 5000:5000 pesu-auth --retry-connrefused --retries=10 --timeout=5s http://localhost:5000/
run: docker run --name pesu-auth -d -p 5000:5000 pesu-auth
- name: Run a ping test
run: curl -s http://localhost:5000/
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN chmod +x /usr/bin/chromedriver
RUN rm -rf chromedriver/

COPY app /app
COPY README.md /README.md
COPY requirements.txt /requirements.txt

RUN pip install -r requirements.txt
Expand Down

0 comments on commit ea9855e

Please sign in to comment.