Browse Source

Añade path a .bashrc

main
creylopez 9 months ago
parent
commit
2be0178ac3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Dockerfile

+ 4
- 0
Dockerfile View File

@ -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 pip --upgrade && \
/opt/venv/bin/python -m pip install -r requirements.txt /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 # make our entrypoint.sh executable
RUN chmod +x config/entrypoint.sh RUN chmod +x config/entrypoint.sh


Loading…
Cancel
Save