Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docker/1.3.1/py3/Dockerfile.eia
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN conda install -c \
&& conda install -y \
scikit-learn==0.21.2 \
pandas==0.25.0 \
pillow==6.2.1 \
h5py==2.9.0 \
requests==2.22.0 \
&& conda clean -ya \
Expand All @@ -78,7 +77,8 @@ RUN conda install -c \
&& pip install https://download.pytorch.org/whl/cpu/torchvision-0.4.2%2Bcpu-cp36-cp36m-linux_x86_64.whl \
&& pip install https://s3.amazonaws.com/amazonei-pytorch/torch_eia-1.3.1-cp36-cp36m-manylinux1_x86_64.whl \
&& pip install graphviz==$GRAPHVIZ_VERSION \
&& pip install mxnet-model-server==$MMS_VERSION
&& pip install mxnet-model-server==$MMS_VERSION \
&& pip install pillow==7.1.0

RUN useradd -m model-server \
&& mkdir -p /home/model-server/tmp \
Expand All @@ -93,6 +93,9 @@ RUN pip install --no-cache-dir "sagemaker-pytorch-inference<2"

RUN curl https://aws-dlc-licenses.s3.amazonaws.com/pytorch/license.txt -o /license.txt

RUN conda install -y -c conda-forge pyyaml==5.3.1 \
&& pip install sagemaker-containers==2.8.6

RUN wget https://amazonei-tools.s3.amazonaws.com/v${HEALTH_CHECK_VERSION}/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz -O /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz \
&& tar -xvf /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz -C /opt/ \
&& rm -rf /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz \
Expand Down