Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX][GWELLS-2226] fix docker compose is generating an error in local #2227

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ app/backend/bulk
*.spec
pip-log.txt
pip-delete-this-directory.txt
app/backend/get-pip.py

# Unit test / coverage reports
htmlcov/
Expand Down
4 changes: 3 additions & 1 deletion app/.s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ mv /tmp/src/* ./

if [[ ! -z "$UPGRADE_PIP_TO_LATEST" || ! -z "$ENABLE_PIPENV" ]]; then
echo "---> Upgrading pip to latest version ..."
pip install -U pip setuptools==57.4.0 wheel
curl -s -o get-pip.py https://bootstrap.pypa.io/pip/3.6/get-pip.py && python3 get-pip.py
python3 -m pip install -U setuptools==57.4.0 wheel
rm get-pip.py
fi

cd backend
Expand Down
5 changes: 0 additions & 5 deletions app/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/scripts/backend-command-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if [ "$ENVIRONMENT" = "local" ]; then
set -x &&
cd /app/backend &&
mkdir -p .pip &&
curl -s -o get-pip.py https://bootstrap.pypa.io/pip/3.5/get-pip.py && python3 get-pip.py &&
python3 -m pip install --upgrade pip &&
python3 -m pip install ptvsd &&
python3 -m pip install --cache-dir=.pip -r requirements.txt &&
Expand Down
Loading