aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------.dockerignore1
-rwxr-xr-x.gitignore2
-rwxr-xr-xDockerfile2
-rwxr-xr-xdocker-compose.yml3
-rwxr-xr-xrequirements.txt2
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
diff --git a/.gitignore b/.gitignore
index 460b6bd..19e47f4 100755
--- a/.gitignore
+++ b/.gitignore
@@ -7,4 +7,4 @@ posted_images.csv
*.png
*.jpg
*.log
-config.json \ No newline at end of file
+config.json
diff --git a/Dockerfile b/Dockerfile
index a594cf8..bcf96d6 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -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