summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile1
-rw-r--r--docker/Dockerfile.arm641
2 files changed, 2 insertions, 0 deletions
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"