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 FROM alpine:edge AS builder
RUN apk add -u crystal shards libc-dev \ 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 WORKDIR /invidious
COPY ./shard.yml ./shard.yml COPY ./shard.yml ./shard.yml
RUN shards update && shards install RUN shards update && shards install