Skip to content

Commit

Permalink
Switched to only on requirements.txt file and changed Dockerfiles to …
Browse files Browse the repository at this point in the history
…always pull master branch.
  • Loading branch information
Hannnsen committed Mar 17, 2023
1 parent 3b650f5 commit 2b5f43e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 140 deletions.
76 changes: 0 additions & 76 deletions create_env.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docker/jupyterhub/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def create_object(self):
'jupyterhub-user-{username}': notebook_dir,
}
c.DockerSpawner.name_template = "{prefix}-{username}"
c.DockerSpawner.debug = True
#c.DockerSpawner.debug = True
c.DockerSpawner.allowed_images = get_allowed_images
# c.DockerSpawner.image = os.environ['DOCKER_JUPYTER_CONTAINER'] + ':' + os.environ['ISLETS_VERSION']
c.DockerSpawner.remove = True
Expand Down
7 changes: 2 additions & 5 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ RUN jupyter lab build

# Install the islets module
WORKDIR /opt/islets/
RUN git clone --branch=docker \
--depth=1 \
--single-branch \
https://github.com/szarma/Physio_Ca.git
RUN git clone --depth=1 https://github.com/szarma/Physio_Ca.git
WORKDIR /opt/islets/Physio_Ca/
RUN pip install .
RUN chmod +x /opt/islets/Physio_Ca/scripts/full_process.py

# Link to data and set the home directory as default work directory
WORKDIR ${HOME}/work
RUN ln -s /data local_data
RUN ln -s /data ${HOME}/work/local_data
9 changes: 3 additions & 6 deletions docker/server_dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ RUN jupyter lab build

# Install the islets module
WORKDIR /opt/islets/
RUN git clone --branch=docker \
--depth=1 \
--single-branch \
https://github.com/szarma/Physio_Ca.git
RUN git clone --depth=1 https://github.com/szarma/Physio_Ca.git
WORKDIR /opt/islets/Physio_Ca/
RUN pip install --editable .
RUN chmod +x /opt/islets/Physio_Ca/scripts/full_process.py

# Link to data and set the home directory as default work directory
WORKDIR ${HOME}/work
RUN ln -s /data local_data
RUN ln -s /opt/islets/Physio_Ca Physio_Ca
RUN ln -s /data ${HOME}/work/local_data
RUN ln -s /opt/islets/Physio_Ca ${HOME}/work/Physio_Ca
File renamed without changes.
27 changes: 0 additions & 27 deletions requirements_new_dash.txt

This file was deleted.

25 changes: 0 additions & 25 deletions requirements_old_dash.txt

This file was deleted.

0 comments on commit 2b5f43e

Please sign in to comment.