Skip to content

Commit

Permalink
updated local development port definition
Browse files Browse the repository at this point in the history
  • Loading branch information
andrptrc committed Feb 28, 2024
1 parent 4d14471 commit 0cc0344
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ services:
dockerfile: development.Dockerfile
command: |
bash -c "
# Create the virtual environment
python3.10 -m venv .venv &&
if [ -d .venv ];
then
echo '.venv exists and is not empty';
else
echo '.venv does not exist or is empty';
python3.10 -m venv .venv;
fi &&
# Activate the virtual environment
source .venv/bin/activate &&
# Install the dependencies
Expand Down

0 comments on commit 0cc0344

Please sign in to comment.