From b15366c1da2604088fcac1404b86d70406769166 Mon Sep 17 00:00:00 2001 From: "A.P." <105522603+AlexPatrie@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:48:30 -0500 Subject: [PATCH] Update Dockerfile-worker for handler --- worker/Dockerfile-worker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worker/Dockerfile-worker b/worker/Dockerfile-worker index 86fe36132..806ac806c 100644 --- a/worker/Dockerfile-worker +++ b/worker/Dockerfile-worker @@ -38,12 +38,12 @@ RUN source ~/.bashrc \ && conda install -c conda-forge -c pysces pysces -y \ && conda env update -n conda-env -f environment.worker.yml \ && poetry install --only=worker --no-cache \ - && rm environment.worker.yml || echo 1 \ + && rm environment.worker.yml || echo "rm environment.worker.yml" > .ERRORS && apt-get autoremove -y \ && apt-get clean # TODO: make this permanent eventually: -RUN mv ../shared.py . +RUN mv ../shared.py . || echo "mv ../shared.py ." >> .ERRORS ENTRYPOINT ["bash", "-c", "source ~/.bashrc && poetry run python3 main.py"]