Skip to content
Snippets Groups Projects
Commit 7fee8dfa authored by Adam Fekete's avatar Adam Fekete
Browse files

cleanup

parent e04e58b6
Branches
Tags
No related merge requests found
FROM jupyter/tensorflow-notebook
FROM jupyter/tensorflow-notebook:python-3.9
# ================================================================================
......@@ -16,22 +16,27 @@ FROM jupyter/tensorflow-notebook
# ================================================================================
# Python environment
# ================================================================================
# TODO: build fixed requirement.txt
WORKDIR /tmp/
COPY --chown=${NB_UID}:${NB_GID} ai4stem/ ./ai4stem
RUN pip install --no-cache-dir --requirement ./ai4stem/requirements.txt \
&& pip install --no-cache-dir ./ai4stem \
&& rm -rf ./ai4stem \
# COPY --chown=${NB_UID}:${NB_GID} ai4stem/ ./ai4stem
# RUN pip install --no-cache-dir --requirement ./ai4stem/requirements.txt \
# && pip install --no-cache-dir ./ai4stem \
# && fix-permissions "${CONDA_DIR}" \
# && fix-permissions "/home/${NB_USER}"
RUN pip install --no-cache-dir 'git+https://github.com/AndreasLeitherer/ai4stem.git@v0.1.0' \
&& fix-permissions "${CONDA_DIR}" \
&& fix-permissions "/home/${NB_USER}"
# ================================================================================
# Switch back to jovyan to avoid accidental container runs as root
# ================================================================================
WORKDIR ${HOME}
USER ${NB_UID}
ENV DOCKER_STACKS_JUPYTER_CMD="nbclassic"
COPY --chown=${NB_UID}:${NB_GID} ai4stem.ipynb .
# COPY --chown=${NB_UID}:${NB_GID} ai4stem.ipynb .
COPY --chown=${NB_UID}:${NB_GID} notebook/ ./
Subproject commit f54295cda648a74b86e3d8b97f8c2689ca35dd71
Subproject commit bb4a2b7e0a31b774f97883b6fed57546a5e9edaa
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment