pup-py commited on
Commit
71c1585
·
1 Parent(s): 1920ce6

pup v2 with venvs for sql and plot

Browse files
Files changed (1) hide show
  1. 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 env1 altair matplotlib
19
- RUN pup list env1
 
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", "plots", "--host", "0.0.0.0", "--port", "7860", "--no-token"]
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"]