Skip to content

Commit

Permalink
Apply same fix as for python image. For some reason, in this image we…
Browse files Browse the repository at this point in the history
… need to install the rquirements.txt seperately

Signed-off-by: Maroun Touma <[email protected]>
  • Loading branch information
touma-I committed Oct 6, 2024
1 parent 4e62fb0 commit 0ada456
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions transforms/universal/tokenization/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ COPY --chown=ray:users data-processing-lib-python/ data-processing-lib-python/
RUN cd data-processing-lib-python && pip install --no-cache-dir -e .
COPY --chown=ray:users data-processing-lib-ray/ data-processing-lib-ray/
RUN cd data-processing-lib-ray && pip install --no-cache-dir -e .
COPY --chown=ray:users python-transform/ python-transform
RUN cd python-transform && pip install --no-cache-dir -e .
COPY --chown=ray:users python-transform/ python-transform
RUN cd python-transform && pip install --no-cache-dir -r requirements.txt && pip install --no-cache-dir -e .

#COPY requirements.txt requirements.txt
#RUN pip install --no-cache-dir -r requirements.txt

COPY --chown=ray:users src/ src/
COPY --chown=ray:users pyproject.toml pyproject.toml
Expand Down

0 comments on commit 0ada456

Please sign in to comment.