Spaces:
Sleeping
Sleeping
pup v2 with venvs for sql and plot
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -15,13 +15,14 @@ WORKDIR $HOME/puppy
|
|
15 |
RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
|
16 |
RUN pup
|
17 |
RUN pixi add marimo
|
18 |
-
RUN pup add
|
19 |
-
RUN pup
|
|
|
20 |
RUN cp -r ./.pixi/envs/default/lib/python3.12/site-packages/marimo/_tutorials . && mv _tutorials marimo_tutorials
|
21 |
|
22 |
EXPOSE 7860
|
23 |
|
24 |
-
CMD ["pixi", "run", "marimo", "tutorial", "
|
25 |
|
26 |
# deploy without installing
|
27 |
# CMD ["pixi", "run", "uvx", "marimo", "tutorial", "intro", "--host", "0.0.0.0", "--port", "7860", "--no-token"]
|
|
|
15 |
RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
|
16 |
RUN pup
|
17 |
RUN pixi add marimo
|
18 |
+
RUN pup add env_plots matplotlib
|
19 |
+
RUN pup add env_sql altair duckdb pandas plotly polars
|
20 |
+
RUN pup list
|
21 |
RUN cp -r ./.pixi/envs/default/lib/python3.12/site-packages/marimo/_tutorials . && mv _tutorials marimo_tutorials
|
22 |
|
23 |
EXPOSE 7860
|
24 |
|
25 |
+
CMD ["pixi", "run", "marimo", "tutorial", "sql", "--host", "0.0.0.0", "--port", "7860", "--no-token"]
|
26 |
|
27 |
# deploy without installing
|
28 |
# CMD ["pixi", "run", "uvx", "marimo", "tutorial", "intro", "--host", "0.0.0.0", "--port", "7860", "--no-token"]
|