diff --git a/Dockerfile b/Dockerfile index 48f3e5c..93f7fca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apk add --no-cache sqlite-static yaml-static WORKDIR /invidious COPY ./invidious/shard.yml ./shard.yml COPY ./invidious/shard.lock ./shard.lock -RUN shards update && shards install --production +RUN shards update --production && shards install --production COPY --from=quay.io/invidious/lsquic-compiled /root/liblsquic.a ./lib/lsquic/src/lsquic/ext/liblsquic.a diff --git a/Dockerfile.new b/Dockerfile.new index 42ac110..3391ed3 100644 --- a/Dockerfile.new +++ b/Dockerfile.new @@ -9,7 +9,7 @@ COPY ./invidious/shard.lock ./shard.lock # Sentry is just for reporting Invidious crashes, no personal data is collected. RUN yq e -i '.dependencies.raven.github = "Sija/raven.cr"' shard.yml RUN yq e -i '.targets.sentry_crash_handler.main = "lib/raven/src/crash_handler.cr"' shard.yml -RUN shards update && shards install --production +RUN shards update --production && shards install --production COPY --from=quay.io/invidious/lsquic-compiled /root/liblsquic.a ./lib/lsquic/src/lsquic/ext/liblsquic.a