docsearch-scraper/Dockerfile

15 lines
288 B
Docker
Raw Normal View History

2021-07-06 00:56:01 +08:00
FROM algolia/docsearch-scraper:latest
2021-07-06 17:17:38 +08:00
2021-07-06 00:56:01 +08:00
LABEL maintainer="t@sparanoid.com"
2021-07-06 17:17:38 +08:00
# Get rid of /github/home
# https://stackoverflow.com/a/63144407/412385
ENV WORKON_HOME /root
ENV PIPENV_PIPFILE /root/Pipfile
RUN pipenv install
2021-07-06 00:56:01 +08:00
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]