Skip to content

Commit

Permalink
add dockerfile for horizontal predictive algorithm job
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Zhu <[email protected]>
  • Loading branch information
zqzten committed Oct 22, 2023
1 parent 47f051e commit 92adf56
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions algorithm/horizontal-predictive.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM continuumio/miniconda3:23.5.2-0

WORKDIR /algorithm

ENV PYTHONPATH=/algorithm

COPY environment.yml .
RUN conda env create -f environment.yml

COPY kapacity/ kapacity/

ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "kapacity", \
"python", "/algorithm/kapacity/portrait/horizontal/predictive/main.py"]

0 comments on commit 92adf56

Please sign in to comment.