Skip to content

Commit

Permalink
Update Dockerfile-worker for handler
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie authored Nov 3, 2024
1 parent 1f7a49d commit b15366c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worker/Dockerfile-worker
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit b15366c

Please sign in to comment.