diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2024-09-07 12:55:37 -0400 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2024-09-07 12:55:37 -0400 |
commit | 5ce481f9932d651b19c95bcf301f627cd30ae1be (patch) | |
tree | 29ca88d189d9e88f31dc8baf61488a800f9f8989 | |
parent | 895fed5dc1142ed76c9fd592fccecdda75605451 (diff) | |
download | yaoi-communism-5ce481f9932d651b19c95bcf301f627cd30ae1be.tar.gz yaoi-communism-5ce481f9932d651b19c95bcf301f627cd30ae1be.zip |
Minor bug fixes
l--------- | .dockerignore | 1 | ||||
-rwxr-xr-x | .gitignore | 2 | ||||
-rwxr-xr-x | Dockerfile | 2 | ||||
-rwxr-xr-x | docker-compose.yml | 3 | ||||
-rwxr-xr-x | requirements.txt | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 120000 index 0000000..3e4e48b --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.gitignore
\ No newline at end of file @@ -7,4 +7,4 @@ posted_images.csv *.png
*.jpg
*.log
-config.json
\ No newline at end of file +config.json
@@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:22.04 MAINTAINER Eden Attenborough "eda@e.email" ENV TZ=Europe/London RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone diff --git a/docker-compose.yml b/docker-compose.yml index bcb7354..25cdc83 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,9 @@ services: build: context: . dockerfile: Dockerfile - image: jwansek/yaoi-communism + image: reg.reaweb.uk/yaoi-communism network_mode: host volumes: + - ./config.json:/app/config.json - ./yc.log:/app/yc.log - ./posted_images.csv:/app/posted_images.csv diff --git a/requirements.txt b/requirements.txt index 0ab94ce..b87b9f1 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ cmake<3.23 Shapely==1.7.1 colorthief==0.2.1 -opencv_python_headless==4.5.4.60 +opencv_python_headless requests lxml dataclasses |