Explorar el Código

new env var $IPFS_INIT_PROFILE

Fabian Peter Hammerle hace 5 años
padre
commit
1b67fbe898
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -28,4 +28,5 @@ RUN wget -O- https://dist.ipfs.io/go-ipfs/v${IPFS_VERSION}/go-ipfs_v${IPFS_VERSI
 
 USER ipfs
 EXPOSE 4001/tcp
-CMD ["ipfs", "daemon", "--init", "--init-profile", "server"]
+ENV IPFS_INIT_PROFILE server
+CMD ["ipfs", "daemon", "--init", "--init-profile", "$IPFS_INIT_PROFILE"]