Skip to content

Invidious is an alternative front-end to YouTube

docker images with --release for more stability fixes #1652

Emilien Devos891116f13bc3
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d3d69af6..2caa9abe 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -17,6 +17,7 @@ RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma"
RUN crystal build ./src/invidious.cr \
+ --release \
--static --warnings all \
--link-flags "-lxml2 -llzma"
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64
index 84084a06..fc82c6df 100644
--- a/docker/Dockerfile.arm64
+++ b/docker/Dockerfile.arm64
@@ -17,6 +17,7 @@ RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma"
RUN crystal build ./src/invidious.cr \
+ --release \
--static --warnings all \
--link-flags "-lxml2 -llzma"