use docker registry mirror to prevent rate limits
Some checks failed
Invidious CI / build (push) Failing after 44s

This commit is contained in:
Fijxu 2024-12-14 16:51:59 -03:00
parent a63300e284
commit 738dec58a1
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -1,4 +1,4 @@
FROM crystallang/crystal:1.14.0-alpine AS builder FROM i.sanxian.tech/crystallang/crystal:1.14.0-alpine AS builder
RUN apk add --no-cache sqlite-static yaml-static RUN apk add --no-cache sqlite-static yaml-static
@ -32,7 +32,7 @@ RUN if [[ "${release}" == 1 ]] ; then \
--link-flags "-lxml2 -llzma"; \ --link-flags "-lxml2 -llzma"; \
fi fi
FROM alpine:3.20 FROM i.sanxian.tech/alpine:3.20
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
WORKDIR /invidious WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \ RUN addgroup -g 1000 -S invidious && \