We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 185488d commit ab48a6aCopy full SHA for ab48a6a
1 file changed
Dockerfile
@@ -78,6 +78,8 @@ USER $USERNAME
78
79
## Get pip as user. Create a user level python virtual environemnt.
80
RUN python3 -m venv /app/docker_venv \
81
- && chmod +x /app/docker_venv/bin/activate \
82
&& . /app/docker_venv/bin/activate \
83
- && python3 /home/$USERNAME/get-pip.py
+ && python3 /home/$USERNAME/get-pip.py \
+ && echo ". /app/docker_venv/bin/activate" >> /home/$USERNAME/.bashrc
84
+
85
+CMD ["/bin/bash"]
0 commit comments