fix docker build (#734)

This commit is contained in:
tleydxdy 2019-08-31 13:11:25 +08:00 committed by Omar Roth
parent 45ad212459
commit b902880a05

View File

@ -1,6 +1,7 @@
FROM alpine:edge AS builder
RUN apk add -u crystal shards libc-dev \
yaml-dev libxml2-dev sqlite-dev sqlite-static zlib-dev openssl-dev
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
sqlite-static zlib-static openssl-libs-static
WORKDIR /invidious
COPY ./shard.yml ./shard.yml
RUN shards update && shards install