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
251251
252252## Run it using Apptainer (or commercial version: Singularity) on HPC, Server or Workstation
253253
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-
262254### Using def file:
263255``` 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
266258```
267259
268260
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ From: opendronemap/nodemicmac:master
1010 export PATH=$PATH:/code/micmac/bin
1111 export python=$(which python3)
1212
13+ %post
14+
15+ mkdir -p /var/www
16+
17+ mkdir -p "/var/www"
18+ cd "/var/www"
19+ mkdir -p tmp
20+
1321%runscript
1422 cd "/var/www"
1523 exec /usr/bin/node /var/www/index.js "$@"
You can’t perform that action at this time.
0 commit comments