refactor: reorganize Docker-related files and update docker-compose configuration
This commit is contained in:
parent
f65292d891
commit
90ae53a95d
@ -17,7 +17,7 @@ logs/
|
|||||||
|
|
||||||
# Ignore Docker files
|
# Ignore Docker files
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose.yml
|
docker-compose.yaml
|
||||||
|
|
||||||
# Ignore build directories
|
# Ignore build directories
|
||||||
dist/
|
dist/
|
@ -1,18 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
webscraper:
|
webscraper:
|
||||||
build:
|
build:
|
||||||
context: ./app
|
context: .
|
||||||
|
dockerfile: ./docker/scripts/Dockerfile
|
||||||
container_name: webscraper
|
container_name: webscraper
|
||||||
volumes:
|
volumes:
|
||||||
- ./app:/usr/src/app
|
- .:/usr/src/app
|
||||||
develop:
|
command:
|
||||||
watch:
|
- tail
|
||||||
- path: ./app/requirements.txt
|
- -f
|
||||||
action: rebuild
|
- /dev/null
|
||||||
- path: ./app
|
|
||||||
target: /usr/src/app
|
|
||||||
action: sync+restart
|
|
||||||
command: tail -f /dev/null
|
|
||||||
selenium-hub:
|
selenium-hub:
|
||||||
image: "selenium/hub:3.141.59"
|
image: "selenium/hub:3.141.59"
|
||||||
container_name: selenium-hub
|
container_name: selenium-hub
|
Loading…
Reference in New Issue
Block a user