File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -251,18 +251,10 @@ This can be also used to access the computation results directly from the file s
251
251
252
252
## Run it using Apptainer (or commercial version: Singularity) on HPC, Server or Workstation
253
253
254
- ### Using Docker image:
255
-
256
- ``` bash
257
- # Replace `apptainer` by `singularity` if you don't use appatainer
258
- apptainer pull --name nodemicmac.sif docker://opendronemap/nodemicmac:master
259
- apptainer run --bind $PWD :/var/www nodemicmac.sif
260
- ```
261
-
262
254
### Using def file:
263
255
``` bash
264
- apptainer -v build --notest nodemicmac.sif apptainer.def
265
- apptainer run --bind $PWD :/var/www nodemicmac.sif
256
+ apptainer -v build --sandbox nodemicmac.sif apptainer.def
257
+ apptainer run --writable nodemicmac.sif
266
258
```
267
259
268
260
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ From: opendronemap/nodemicmac:master
10
10
export PATH=$PATH:/code/micmac/bin
11
11
export python=$(which python3)
12
12
13
+ %post
14
+
15
+ mkdir -p /var/www
16
+
17
+ mkdir -p "/var/www"
18
+ cd "/var/www"
19
+ mkdir -p tmp
20
+
13
21
%runscript
14
22
cd "/var/www"
15
23
exec /usr/bin/node /var/www/index.js "$@"
You can’t perform that action at this time.
0 commit comments