fixed request issue

This commit is contained in:
milindsingh
2021-03-20 10:51:24 +05:30
parent 58c7d6d37f
commit b5b89faebe
2 changed files with 7 additions and 3 deletions
+7
View File
@@ -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"]
-3
View File
@@ -1,8 +1,5 @@
#!/bin/bash
cd /root
ls ./
pipenv run python --version
pipenv run pip freeze