|
|
@ -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
|
|
|
|