Use JSDeliver mirror when building Docker images as well

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-04-07 13:59:03 +02:00
parent d11929d231
commit d01bbcad98
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ RUN yarn install --network-timeout 100000 \
# Then, build the application binary
FROM elixir:1.13-alpine AS builder
ENV HEX_MIRROR="https://cdn.jsdelivr.net/hex"
RUN apk add --no-cache build-base git cmake
COPY mix.exs mix.lock ./