Skip to content

Commit 94a7cfd

Browse files
committed
Fix post-deploy installation in Dockerfile
1 parent e0f380f commit 94a7cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
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,8 +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-
conda activate /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f && \
180+
RUN conda activate /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f && \
181181
bash /conda-envs/3fad3c9cdfa40bee9404f6a2e8fda69f/post-deploy.sh && \
182182
conda deactivate && \
183183
conda clean --all -y

0 commit comments

Comments
 (0)