diff --git a/.dockerignore b/app/.dockerignore similarity index 77% rename from .dockerignore rename to app/.dockerignore index 1429109..b7f5930 100644 --- a/.dockerignore +++ b/app/.dockerignore @@ -17,7 +17,7 @@ logs/ # Ignore Docker files Dockerfile -docker-compose.yml +docker-compose.yaml # Ignore build directories dist/ diff --git a/docker-compose.yaml b/app/docker-compose.yaml similarity index 57% rename from docker-compose.yaml rename to app/docker-compose.yaml index ac3339d..6491ba7 100644 --- a/docker-compose.yaml +++ b/app/docker-compose.yaml @@ -1,18 +1,15 @@ services: webscraper: build: - context: ./app + context: . + dockerfile: ./docker/scripts/Dockerfile container_name: webscraper volumes: - - ./app:/usr/src/app - develop: - watch: - - path: ./app/requirements.txt - action: rebuild - - path: ./app - target: /usr/src/app - action: sync+restart - command: tail -f /dev/null + - .:/usr/src/app + command: + - tail + - -f + - /dev/null selenium-hub: image: "selenium/hub:3.141.59" container_name: selenium-hub diff --git a/app/Dockerfile b/app/docker/scripts/Dockerfile similarity index 100% rename from app/Dockerfile rename to app/docker/scripts/Dockerfile