Skip to content

Commit 924d32a

Browse files
committed
move pytest install
1 parent 77c9a35 commit 924d32a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

k8/images/prophet/Dockerfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ RUN git clone \
1414

1515
RUN --mount=type=cache,target=/root/.cache/pip \
1616
cd python \
17-
pip install -r requirements.txt \
18-
pip install plotly \
19-
pip install pytest \
17+
pip install -r requirements.txt
18+
19+
RUN --mount=type=cache,target=/root/.cache/pip \
20+
pip install \
21+
pytest \
2022
pytest-custom_exit_code
2123

22-
RUN cd python \
24+
RUN --mount=type=cache,target=/root/.cache/pip \
25+
cd python \
2326
pip install -e .
2427

2528
RUN cd python \
2629
python -c "from fbprophet import Prophet"
2730

2831
ENV PYTHON_RECORD_API_FROM_MODULES=fbprophet
29-
CMD [ "python", "-m", "pytest", "fbprophet", "--verbose", "--suppress-tests-failed-exit-code"]
32+
CMD ["pytest", "fbprophet", "--verbose", "--suppress-tests-failed-exit-code"]

k8/images/prophet/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2
1+
1.3

0 commit comments

Comments
 (0)