ARG REPO_LOCATION
# ARG BASE_VERSION

FROM ${REPO_LOCATION}minideb

RUN install_packages gcc python3 python3-dev python3-pip python3-setuptools \
	&& pip3 install archivebox \
	&& rm -rf /root/.cache

USER 10200:10200

WORKDIR /mnt

VOLUME [ "/mnt" ]
ENTRYPOINT archivebox server