Spaces:
Sleeping
Sleeping
try puppy
Browse files- Dockerfile +23 -0
Dockerfile
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM debian:latest AS base
|
2 |
+
|
3 |
+
RUN apt-get update \
|
4 |
+
&& apt-get install -y curl \
|
5 |
+
&& apt-get clean
|
6 |
+
|
7 |
+
RUN useradd -m -u 1000 user
|
8 |
+
USER user
|
9 |
+
ENV HOME=/home/user \
|
10 |
+
PATH=/home/user/.local/bin:/home/user/.pixi/bin:$PATH
|
11 |
+
|
12 |
+
# install puppy
|
13 |
+
RUN git clone https://github.com/liquidcarbon/puppy
|
14 |
+
WORKDIR $HOME/puppy
|
15 |
+
CMD ["bash"]
|
16 |
+
RUN ./pup.sh 3.12
|
17 |
+
|
18 |
+
# use puppy
|
19 |
+
RUN . <(cat pup.sh | tail -1)
|
20 |
+
RUN pup
|
21 |
+
RUN pixi run uvx marimo tutorial intro --host 0.0.0.0 --port 7860 --no-token
|
22 |
+
|
23 |
+
|