File size: 614 Bytes
bb1f598 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
FROM tensorflow/tensorflow:1.13.1-py3
# Install system packages
RUN apt-get update && apt-get install -y --no-install-recommends \
bzip2 \
g++ \
git \
graphviz \
libgl1-mesa-glx \
libhdf5-dev \
openmpi-bin \
screen \
wget && \
rm -rf /var/lib/apt/lists/* \
apt-get upgrade
ENV TENSOR_HOME /home/isr
WORKDIR $TENSOR_HOME
COPY ISR ./ISR
COPY scripts ./scripts
COPY weights ./weights
COPY config.yml ./
COPY setup.py ./
RUN pip install --upgrade pip
RUN pip install -e .
ENV PYTHONPATH ./ISR/:$PYTHONPATH
ENTRYPOINT ["sh", "./scripts/entrypoint.sh"]
|