Ver código fonte

Añado .bashrc al contenedor

creylopez 1 ano atrás
pai
commit
7d0e895546
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -26,6 +26,8 @@ RUN python -m venv /opt/venv && \
     /opt/venv/bin/python -m pip install pip --upgrade && \
     /opt/venv/bin/python -m pip install pip --upgrade && \
     /opt/venv/bin/python -m pip install -r requirements.txt
     /opt/venv/bin/python -m pip install -r requirements.txt
 
 
+RUN echo "export PAHT=/opt/venv/bin/:$PATH" >> /app/.bashrc
+
 # make our entrypoint.sh executable
 # make our entrypoint.sh executable
 RUN chmod +x config/entrypoint.sh
 RUN chmod +x config/entrypoint.sh