fixed request issue
This commit is contained in:
@@ -5,5 +5,12 @@ FROM algolia/docsearch-scraper
|
||||
# `docker run`
|
||||
ENV WORKON_HOME /root
|
||||
|
||||
# Tells pipenv to use this specific Pipfile rather than the Pipfile in the
|
||||
# current working directory (the working directory changes between `docker build`
|
||||
# and `docker run`, this ensures we always use the same Pipfile)
|
||||
ENV PIPENV_PIPFILE /root/Pipfile
|
||||
|
||||
RUN pipenv install --python 3.6
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
@@ -1,8 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /root
|
||||
ls ./
|
||||
|
||||
pipenv run python --version
|
||||
|
||||
pipenv run pip freeze
|
||||
|
||||
Reference in New Issue
Block a user