Dockerized every modules
This commit is contained in:
11
downloader/Dockerfile
Normal file
11
downloader/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM alpine:3.19.1
|
||||
|
||||
RUN apk add --no-cache curl=8.5.0-r0 python3=3.11.9-r0 && rm -rf /var/cache/apk*
|
||||
|
||||
WORKDIR /home/ViolaJones/downloader
|
||||
COPY requirements.txt activate.sh ./
|
||||
RUN ./activate.sh
|
||||
|
||||
COPY download_data.sh convert_dataset.py ./
|
||||
|
||||
CMD ["./download_data.sh"]
|
6
downloader/docker-compose.yaml
Normal file
6
downloader/docker-compose.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
services:
|
||||
downloader:
|
||||
image: saundersp/violajones-downloader
|
||||
build: .
|
||||
volumes:
|
||||
- ../data:/home/ViolaJones/data
|
Reference in New Issue
Block a user