Skip to content

Commit

Permalink
Create venv
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-shepherd committed Jan 9, 2025
1 parent 486ea3a commit 28871c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cli/jobs/single-step/r/accidents/docker-context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ FROM rocker/tidyverse:latest
RUN apt-get update -qq && \
apt-get install -y python3-pip tcl tk libz-dev libpng-dev

RUN ln -f /usr/bin/python3 /usr/bin/python
RUN ln -f /usr/bin/pip3 /usr/bin/pip
RUN /usr/bin/python3 -m venv /usr/venv/

RUN ln -f /usr/venv/python3 /usr/bin/python
RUN ln -f /usr/venv/pip3 /usr/bin/pip

# Install azureml-mlflow

RUN pip install azureml-mlflow
RUN pip install mlflow

# Create link for python
RUN ln -f /usr/bin/python3 /usr/bin/python

# Install additional R packages
RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')"
Expand Down

0 comments on commit 28871c8

Please sign in to comment.