18 lines
462 B
Docker
18 lines
462 B
Docker
#
|
|
# NOTE: Use the Makefiles to build this image correctly.
|
|
#
|
|
|
|
ARG BASE_IMG=<jupyter>
|
|
FROM $BASE_IMG
|
|
|
|
# args - software versions
|
|
ARG TENSORFLOW_VERSION=2.13.0
|
|
|
|
# install - tensorflow
|
|
RUN python3 -m pip install --quiet --no-cache-dir \
|
|
tensorflow==${TENSORFLOW_VERSION}
|
|
|
|
# install - requirements.txt
|
|
COPY --chown=${NB_USER}:users requirements.txt /tmp
|
|
RUN python3 -m pip install -r /tmp/requirements.txt --quiet --no-cache-dir \
|
|
&& rm -f /tmp/requirements.txt |