2021-06-27 11:30:32 +00:00
|
|
|
ARG REPO_LOCATION
|
|
|
|
# ARG BASE_VERSION
|
|
|
|
|
|
|
|
FROM ${REPO_LOCATION}minideb
|
|
|
|
|
2021-06-27 13:06:33 +00:00
|
|
|
RUN install_packages gcc python3 python3-dev python3-pip python3-setuptools \
|
2021-06-27 12:58:57 +00:00
|
|
|
&& pip3 install archivebox \
|
2021-06-27 13:16:25 +00:00
|
|
|
&& rm -rf /root/.cache
|
2021-06-27 11:30:32 +00:00
|
|
|
|
|
|
|
USER 10200:10200
|
|
|
|
|
2021-06-27 11:31:01 +00:00
|
|
|
WORKDIR /mnt
|
|
|
|
|
|
|
|
VOLUME [ "/mnt" ]
|
2021-06-27 11:30:32 +00:00
|
|
|
ENTRYPOINT archivebox server
|