From 0215ab6ede571da364566b1a5a6f5c07ec1b3e96 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 23 Oct 2021 00:15:20 -0700 Subject: [PATCH] * This patch is just an excuse to mention that the docker registry has been updated --- .dockerignore | 9 +++++++++ scripts/build-all.sh | 1 + scripts/default-rocket-toml.sh | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..7f2c287 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +target/ +api/dev/ +api/target/ +api/vids/ +api/thumbs/ +aws/ +gitpage/ +scripts/ +ts/ diff --git a/scripts/build-all.sh b/scripts/build-all.sh index 3fe88ef..1defb8b 100755 --- a/scripts/build-all.sh +++ b/scripts/build-all.sh @@ -15,3 +15,4 @@ cp api/templates/ build/ -r cp api/static/ build -r bash ./scripts/default-rocket-toml.sh +docker build -t registry.gitlab.com/shockrah/clippable . diff --git a/scripts/default-rocket-toml.sh b/scripts/default-rocket-toml.sh index 313cdb4..94863a2 100644 --- a/scripts/default-rocket-toml.sh +++ b/scripts/default-rocket-toml.sh @@ -2,7 +2,7 @@ echo Copying in default configuration for web server cat << EOF > build/Rocket.toml -[production] +[release] address = "0.0.0.0" port = 8482 keep_alive = 5