FROM docker.io/alpine:edge AS build
apk add --no-cache bzip2 ca-certificates pv tar wget && \
wget --output-document=archive.tar.bz2 https://data.imfreedom.org/public/list-archives/list-archives-imf.tar.bz2 && \
pv --numeric archive.tar.bz2 | tar jxf -
FROM docker.io/nginx:alpine
RUN rm /usr/share/nginx/html/*
COPY default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /archive /usr/share/nginx/html