feat: separate base image to make github action faster

This commit is contained in:
Tunghsiao Liu
2021-07-06 07:09:10 -04:00
parent 7bc83e6f4c
commit 5770064c68
3 changed files with 33 additions and 8 deletions

View File

@ -1,14 +1,7 @@
FROM algolia/docsearch-scraper:latest
FROM openbayes/docsearch-scraper-action-base
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"]