Browse Source

el bashrc tiene que estar en /root

creylopez 1 năm trước cách đây
mục cha
commit
cf59a0479b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -26,7 +26,7 @@ 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
+RUN echo "export PAHT=/opt/venv/bin/:$PATH" >> /root/.bashrc
 
 
 # make our entrypoint.sh executable
 # make our entrypoint.sh executable
 RUN chmod +x config/entrypoint.sh
 RUN chmod +x config/entrypoint.sh