1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-29 01:06:13 -05:00
invidious/docker/Dockerfile

16 lines
460 B
Docker
Raw Normal View History

2018-09-26 03:46:08 -04:00
FROM archlinux/base
RUN pacman -Sy --noconfirm shards crystal imagemagick librsvg \
2019-04-30 09:56:24 -04:00
which pkgconf gcc ttf-liberation glibc
2018-09-26 03:46:08 -04:00
# 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 && \
2019-02-28 14:49:29 -05:00
shards update && shards install && \
2018-09-26 03:46:08 -04:00
crystal build src/invidious.cr
CMD [ "/invidious/invidious" ]