pup-py commited on
Commit
0a2e6a1
·
1 Parent(s): 029ec6d

source right after init

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. pup +2 -1
Dockerfile CHANGED
@@ -27,7 +27,7 @@ CMD ["bash"]
27
 
28
  FROM base
29
  RUN $PUP
30
- RUN ls -la && pup which
31
  RUN pup py3.11
32
 
33
  EXPOSE 7860
 
27
 
28
  FROM base
29
  RUN $PUP
30
+ RUN ls -la && pup which && cat .bashrc
31
  RUN pup py3.11
32
 
33
  EXPOSE 7860
pup CHANGED
@@ -223,8 +223,9 @@ if [ "$1" == "pixi" ]; then
223
  # touch $HOME/.bashrc
224
  export SHELL=bash
225
  curl -fsSL https://pixi.sh/install.sh | bash
 
226
  fi
227
- source $HOME/.bashrc
228
  PUPHOME=$(pup home)
229
  if [[ ! -f "$PUPHOME"/pixi.toml ]]; then
230
  pixi init "$PUPHOME"
 
223
  # touch $HOME/.bashrc
224
  export SHELL=bash
225
  curl -fsSL https://pixi.sh/install.sh | bash
226
+ source $HOME/.bashrc
227
  fi
228
+
229
  PUPHOME=$(pup home)
230
  if [[ ! -f "$PUPHOME"/pixi.toml ]]; then
231
  pixi init "$PUPHOME"