forked from microsoft/MLOpsPython
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
Latest commit
17 lines (13 loc) · 629 Bytes
/
Copy pathDockerfile
File metadata and controls
17 lines (13 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM conda/miniconda3
LABEL org.label-schema.vendor = "Microsoft" \
org.label-schema.url = "https://hub.docker.com/r/microsoft/mlopspython" \
org.label-schema.vcs-url = "https://github.com/microsoft/MLOpsPython"
COPY diabetes_regression/ci_dependencies.yml /setup/
# activate environment
ENV PATH /usr/local/envs/mlopspython_ci/bin:$PATH
RUN conda update -n base -c defaults conda && \
conda install python=3.7.5 && \
conda env create -f /setup/ci_dependencies.yml && \
/bin/bash -c "source activate mlopspython_ci" && \
az --version && \
chmod -R 777 /usr/local/envs/mlopspython_ci/lib/python3.7