Skip to content

Commit

Permalink
Fix DefectDojo#1428: unit-tests not working in docker env
Browse files Browse the repository at this point in the history
  • Loading branch information
TROVATELLI Pascal committed Jul 29, 2019
1 parent 4b60e18 commit 40b8f18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile.django
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ COPY \
docker/entrypoint-uwsgi.sh \
docker/entrypoint-uwsgi-dev.sh \
docker/entrypoint-unit-tests.sh \
docker/entrypoint-unit-tests-devDocker.sh \
docker/wait-for-it.sh \
/
COPY wsgi.py manage.py tests/unit-tests.sh ./
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.override.unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
version: '3.7'
services:
nginx:
image: hello-world
entrypoint: []
image: busybox:1.31
entrypoint: ["/bin/echo", "hello world"]
uwsgi:
entrypoint: ['/wait-for-it.sh', 'mysql:3306', '-t', '30', '--', '/entrypoint-unit-tests-devDocker.sh']
volumes:
Expand Down

0 comments on commit 40b8f18

Please sign in to comment.