Skip to content

Commit

Permalink
Update pycaret.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jul 27, 2024
1 parent feb901e commit f3c7b5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Docker/pycaret/pycaret.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM jupyter/base-notebook:latest

# name your environment and choose python 3.x version
ARG conda_env=pycaret_full
ARG py_ver=3.12
ARG py_ver=3.8

# add additional libraries you want with mamba
# add additional libraries you want with mamba
RUN mamba create --quiet --yes -p "${CONDA_DIR}/envs/${conda_env}" python=${py_ver} ipython ipykernel && \
mamba clean --all -f -y

Expand All @@ -17,10 +17,10 @@ RUN "${CONDA_DIR}/envs/${conda_env}/bin/python" -m ipykernel install --user --na
fix-permissions "/home/${NB_USER}"

# install pycaret full version
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install pycaret[full]==3.3.2
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install pycaret[full]

# prepend conda environment to path
ENV PATH="${CONDA_DIR}/envs/${conda_env}/bin:${PATH}"
ENV PATH "${CONDA_DIR}/envs/${conda_env}/bin:${PATH}"

# make the env default
ENV CONDA_DEFAULT_ENV=${conda_env}
ENV CONDA_DEFAULT_ENV ${conda_env}

0 comments on commit f3c7b5e

Please sign in to comment.