diff --git a/.gitignore b/.gitignore index 2a76c1e..24d0e66 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ !mathlib !models !nnlib -!utils \ No newline at end of file +!utils +!Dockerfile* diff --git a/Dockerfile.cpu b/Dockerfile.cpu new file mode 100644 index 0000000..d477c13 --- /dev/null +++ b/Dockerfile.cpu @@ -0,0 +1,14 @@ +FROM tensorflow/tensorflow:latest-py3 + +RUN apt-get update -qq -y \ + && apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\ + && apt-get install -y git \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +COPY requirements-cpu-docker.txt /opt/ +RUN pip3 install cmake +RUN pip3 --no-cache-dir install -r /opt/requirements-cpu-docker.txt && rm /opt/requirements-cpu-docker.txt + +WORKDIR "/notebooks" +CMD ["/run_jupyter.sh", "--allow-root"]