diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-01-28 15:30:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-28 15:30:13 +0100 |
| commit | eba311baa94e8d2848beaad5310b05d5ec22d35c (patch) | |
| tree | ca297987c9bfde56b2222ae86232397a9da8f4f8 /docker/Dockerfile.arm64 | |
| parent | 508f137b30f01a7ab5cb00d696d4ff5ae79d49db (diff) | |
| parent | 0c7726d4e1a66e1a1d1761f81951c87adf057fe6 (diff) | |
| download | invidious-eba311baa94e8d2848beaad5310b05d5ec22d35c.tar.gz invidious-eba311baa94e8d2848beaad5310b05d5ec22d35c.tar.bz2 invidious-eba311baa94e8d2848beaad5310b05d5ec22d35c.zip | |
Merge pull request #2397 from syeopite/dep-manager-for-videojs-stuff
Add dependency manager script for videojs stuff
Diffstat (limited to 'docker/Dockerfile.arm64')
| -rw-r--r-- | docker/Dockerfile.arm64 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 0da7c603..686a9278 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -15,6 +15,11 @@ COPY ./src/ ./src/ # See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION. COPY ./.git/ ./.git/ +# Required for fetching player dependencies +COPY ./scripts/ ./scripts/ +COPY ./assets/ ./assets/ +COPY ./videojs-dependencies.yml ./videojs-dependencies.yml + RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" @@ -34,12 +39,12 @@ RUN apk add --no-cache librsvg ttf-opensans WORKDIR /invidious RUN addgroup -g 1000 -S invidious && \ adduser -u 1000 -S invidious -G invidious -COPY ./assets/ ./assets/ COPY --chown=invidious ./config/config.* ./config/ RUN mv -n config/config.example.yml config/config.yml RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ +COPY --from=builder /invidious/assets ./assets/ COPY --from=builder /invidious/invidious . RUN chmod o+rX -R ./assets ./config ./locales |
