From 131a1d161799d66d9201f725231e5aa007bedb99 Mon Sep 17 00:00:00 2001
From: Manon Blanco <blanco@teklia.com>
Date: Tue, 14 May 2024 13:53:07 +0000
Subject: [PATCH] Allow the worker to be launched with Slurm

---
 .arkindex.yml | 1 +
 Dockerfile    | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.arkindex.yml b/.arkindex.yml
index a8dad8f..76f398d 100644
--- a/.arkindex.yml
+++ b/.arkindex.yml
@@ -7,6 +7,7 @@ workers:
     type: extractor
     docker:
       build: Dockerfile
+      command: worker-init-elements
     user_configuration:
       chunks_number:
         title: Number of chunks to split workflow into after initialisation
diff --git a/Dockerfile b/Dockerfile
index 0d03194..2fecb17 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,5 +14,3 @@ RUN pip install . --no-cache-dir
 # Add archi local CA
 RUN curl https://assets.teklia.com/teklia_dev_ca.pem > /usr/local/share/ca-certificates/arkindex-dev.crt && update-ca-certificates
 ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
-
-CMD ["worker-init-elements"]
-- 
GitLab