Skip to content

Commit 6532a05

Browse files
committed
Fix post-deploy installation in Dockerfile
1 parent e0f380f commit 6532a05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ COPY workflow/envs/freyja.yaml /conda-envs/bb4c5f3a509433cc08861582fab4a705/envi
6363
# - r-logger==0.2.2
6464
RUN mkdir -p /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f
6565
COPY workflow/envs/gisaidr.yaml /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f/environment.yaml
66+
COPY workflow/envs/gisaidr.post-deploy.sh /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f/post-deploy.sh
6667

6768
# Conda environment:
6869
# source: workflow/envs/iqtree.yaml
@@ -176,7 +177,7 @@ RUN conda env create --prefix /conda-envs/9c24a867826615972cc288081976e7fc --fil
176177

177178
# Step 4: Run post-deploy scripts
178179

179-
RUN conda init && . /root/.bashrc && \
180+
RUN conda init && \
180181
conda activate /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f && \
181182
bash /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f/post-deploy.sh && \
182183
conda deactivate && \

0 commit comments

Comments
 (0)