mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
shards update production
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user