Explorar o código

Añade path a .bashrc

creylopez hai 1 ano
pai
achega
2be0178ac3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Dockerfile

+ 4 - 0
Dockerfile

@@ -27,6 +27,10 @@ RUN python -m venv /opt/venv && \
     /opt/venv/bin/python -m pip install pip --upgrade && \
     /opt/venv/bin/python -m pip install -r requirements.txt
 
+# Añade path a .bashrc
+
+RUN echo "export PATH=/opt/venv/bin/:$PATH" >> /root/.bashrc
+
 # make our entrypoint.sh executable
 RUN chmod +x config/entrypoint.sh