Skip to content

Commit

Permalink
add mojo to docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
josiahls committed Jan 20, 2024
1 parent c1442ea commit b8bf80f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastrl.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ COPY --chown=$CONTAINER_USER:$CONTAINER_GROUP . fastrl

RUN sudo apt-get -y install cmake

RUN sudo apt-get update && \
sudo apt-get install modular && \
modular clean && \
modular install mojo

# RUN /bin/bash -c "if [[ $BUILD == 'dev' ]] ; then echo \"Development Build\" && cd fastrl/data && mv pyproject.toml pyproject.toml_tmp && pip install -e . --no-dependencies && mv pyproject.toml_tmp pyproject.toml && cd ../; fi"

RUN /bin/bash -c "if [[ $BUILD == 'prod' ]] ; then echo \"Production Build\" && cd fastrl && pip install . --no-dependencies; fi"
Expand Down

0 comments on commit b8bf80f

Please sign in to comment.