pup-py commited on
Commit
bc36e1b
·
1 Parent(s): 6381457

helper script for pup in .pixi/bin

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -8,14 +8,16 @@ RUN useradd -m -u 1000 user
8
  USER user
9
  ENV HOME=/home/user \
10
  PATH=/home/user/.pixi/bin:$PATH
 
11
 
12
- RUN echo $PATH
13
  RUN mkdir $HOME/puppy
14
  WORKDIR $HOME/puppy
15
  RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
16
  RUN pixi add marimo
17
- RUN echo $PATH
18
- RUN ln -s ./pup.py /home/user/.pixi/bin/pup
 
19
  RUN pup
20
  RUN pup fetch hf pandas
21
  RUN pup list .
 
8
  USER user
9
  ENV HOME=/home/user \
10
  PATH=/home/user/.pixi/bin:$PATH
11
+ PUP=/home/user/.pixi/bin/pup
12
 
13
+ RUN echo "$PATH"
14
  RUN mkdir $HOME/puppy
15
  WORKDIR $HOME/puppy
16
  RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
17
  RUN pixi add marimo
18
+ RUN echo "$PATH"
19
+ RUN echo -e '#!/bin/bash\n/home/user/puppy/pup.py "$@"' > $PUP && chmod +x $PUP
20
+ RUN cat $PUP
21
  RUN pup
22
  RUN pup fetch hf pandas
23
  RUN pup list .