chore: try /root as base dir

This commit is contained in:
Tunghsiao Liu
2021-07-06 05:17:38 -04:00
parent 5d32f913bd
commit 77bb9c27f4
2 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,14 @@
FROM algolia/docsearch-scraper:latest
LABEL maintainer="t@sparanoid.com"
# Get rid of /github/home
# https://stackoverflow.com/a/63144407/412385
ENV WORKON_HOME /root
ENV PIPENV_PIPFILE /root/Pipfile
RUN pipenv install
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]