Skip to content

Commit d4678f6

Browse files
committed
update
1 parent e2e3636 commit d4678f6

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

docs/advanced/5_sharing_common_logic/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Beware that you can only import scripts that you have view rights on at time of
4747
The folder layout is identical with the one that works with the CLI for syncing
4848
scripts locally and on Windmill. See [Developing scripts locally](../4_local_development/index.mdx)
4949

50-
## Deno relative imports for sharing common logic
50+
## Deno or Bun relative imports for sharing common logic
5151

5252
Similarly to Python, it is possible to import directly from other TypeScript
5353
Scripts. One can simply follow the path layout. For instance,

docs/advanced/8_preinstall_binaries/index.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,24 @@ RUN apt-get update && apt install ....
1010
1111
CMD ["windmill"]
1212
```
13+
14+
## Puppeteer Exemple
15+
16+
```
17+
FROM ghcr.io/windmill-labs/windmill-ee:main
18+
19+
20+
RUN apt update
21+
RUN apt install npm -y
22+
RUN mkdir -p /etc/apt/keyrings
23+
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
24+
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
25+
RUN apt-get update -y
26+
RUN apt install nodejs libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libcups2-dev libdrm-dev libxkbcommon-dev libxcomposite-dev libxdamage-dev libxrandr-dev\
27+
libgbm-dev libpango-1.0 libcairo-dev libasound-dev -y
28+
RUN npm install -g puppeteer -y
29+
30+
CMD ["windmill"]
31+
```
32+
33+
Note: the above is using `windmill-ee` as base

0 commit comments

Comments
 (0)