mirror of
https://github.com/signcl/docsearch-scraper-action.git
synced 2025-07-04 02:53:30 +08:00
feat: separate base image to make github action faster
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user