refactor: reorganize Docker-related files and update docker-compose configuration

This commit is contained in:
patilk 2024-11-14 03:38:02 +01:00
parent f65292d891
commit 90ae53a95d
Signed by: s500042
GPG Key ID: 1921AD722E7392EE
3 changed files with 8 additions and 11 deletions

View File

@ -17,7 +17,7 @@ logs/
# Ignore Docker files
Dockerfile
docker-compose.yml
docker-compose.yaml
# Ignore build directories
dist/

View File

@ -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