File tree Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 1- name : Changes on main branch
1+ name : Docker image
22
33on :
44 workflow_dispatch :
Original file line number Diff line number Diff line change @@ -23,26 +23,23 @@ jobs:
2323 node-version : 20
2424 cache : npm
2525
26- - name : Install pnpm
27- run : npm install -g pnpm
28-
2926 - name : Clone vizarr
3027 run : git clone https://github.com/hms-dbmi/vizarr.git
3128
3229 - name : Checkout vizarr commit
3330 run : |
3431 cd vizarr
35- git checkout d70b0c9ab86acfcd79fd4bbb61f076bd122cb3cc
32+ git checkout eb2b77fed92a08c78c5770144bc7ccf19e9c7658
3633
3734 - name : Install dependencies
3835 run : |
3936 cd vizarr
40- pnpm install
37+ npx -y pnpm install
4138
4239 - name : Generate build artifacts
4340 run : |
4441 cd vizarr
45- pnpm run build
42+ npx pnpm run build
4643
4744 - name : Generate the package
4845 run : |
Original file line number Diff line number Diff line change 11FROM node:20
22
3- RUN npm install -g pnpm
4-
53WORKDIR /
64
75RUN git clone https://github.com/hms-dbmi/vizarr.git
86WORKDIR /vizarr
97
10- RUN git checkout d70b0c9ab86acfcd79fd4bbb61f076bd122cb3cc
11- RUN pnpm install
12- RUN pnpm run build
8+ RUN git checkout eb2b77fed92a08c78c5770144bc7ccf19e9c7658
9+ RUN npx -y pnpm install
10+ RUN npx pnpm run build
1311
1412RUN mkdir /fractal-vizarr-viewer
1513
Original file line number Diff line number Diff line change @@ -185,16 +185,14 @@ Copy the file `.env.example` to `.env` and customize values for the environment
185185
186186In order to display a proper error message related to the missing authorization it is necessary to use a modified version of vizarr.
187187
188- > Vizarr needs to be built using ** pnpm** . To install it you can use ` npm install -g pnpm ` .
189-
190188> Note: for simplicity, we assume that ` fractal-vizarr-viewer ` and ` vizarr ` are subfolders of the same folder:
191189
192190``` bash
193191git clone https://github.com/hms-dbmi/vizarr.git
194192cd vizarr
195- git checkout d70b0c9ab86acfcd79fd4bbb61f076bd122cb3cc
196- pnpm install
197- pnpm run build
193+ git checkout eb2b77fed92a08c78c5770144bc7ccf19e9c7658
194+ npx pnpm install
195+ npx pnpm run build
198196```
199197
200198The output is located in the ` dist ` folder.
You can’t perform that action at this time.
0 commit comments