File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,5 +16,11 @@ RUN make
1616# Final stage - start fresh and don't carry over the build artifacts
1717FROM ghcr.io/nearnodeflash/nnf-mfu:master
1818
19+ # Install python3 to make a simple http server available
20+ RUN apt-get update && apt-get install -y \
21+ python3 \
22+ curl \
23+ && rm -rf /var/lib/apt/lists/*
24+
1925# Copy application from build stage into final stage
2026COPY --from=build /src/mpi_hello_world /usr/bin/mpi_hello_world
Original file line number Diff line number Diff line change 88 storages :
99 - name : DW_JOB_my_storage
1010 optional : false
11+ # $NNF_CONTAINER_PORT can be used to get the port number(s)
12+ numPorts : 1
1113 mpiSpec :
1214 mpiReplicaSpecs :
1315 Launcher :
2022 - mpirun
2123 - mpi_hello_world
2224 - " $(DW_JOB_my_storage)"
25+ # An example webserver can be started using python
26+ # - mpirun
27+ # - python3
28+ # - -m
29+ # - http.server
30+ # - $(NNF_CONTAINER_PORT)
2331 Worker :
2432 template :
2533 spec :
You can’t perform that action at this time.
0 commit comments