mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-14 04:08:23 +00:00
16 lines
460 B
Docker
16 lines
460 B
Docker
FROM archlinux/base
|
|
|
|
RUN pacman -Sy --noconfirm shards crystal imagemagick librsvg \
|
|
which pkgconf gcc ttf-liberation glibc
|
|
# base-devel contains many other basic packages, that are normally assumed to already exist on a clean arch system
|
|
|
|
ADD . /invidious
|
|
|
|
WORKDIR /invidious
|
|
|
|
RUN sed -i 's/host: localhost/host: postgres/' config/config.yml && \
|
|
shards update && shards install && \
|
|
crystal build src/invidious.cr
|
|
|
|
CMD [ "/invidious/invidious" ]
|