Skip to content

Commit b2cc2f9

Browse files
committed
Updated vizarr ref to latest release
1 parent 1d023b4 commit b2cc2f9

File tree

4 files changed

+10
-17
lines changed

4 files changed

+10
-17
lines changed

.github/workflows/main.yaml renamed to .github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Changes on main branch
1+
name: Docker image
22

33
on:
44
workflow_dispatch:

.github/workflows/github_release.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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: |

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
FROM node:20
22

3-
RUN npm install -g pnpm
4-
53
WORKDIR /
64

75
RUN git clone https://github.com/hms-dbmi/vizarr.git
86
WORKDIR /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

1412
RUN mkdir /fractal-vizarr-viewer
1513

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,16 +185,14 @@ Copy the file `.env.example` to `.env` and customize values for the environment
185185

186186
In 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
193191
git clone https://github.com/hms-dbmi/vizarr.git
194192
cd 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

200198
The output is located in the `dist` folder.

0 commit comments

Comments
 (0)