Skip to content

Commit 017bc5e

Browse files
authored
Merge pull request #2 from CCPBioSim/tweaks
additional tweaks after migration
2 parents bd5defc + 34a8464 commit 017bc5e

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
id: build
5555
uses: docker/build-push-action@v6.18.0
5656
with:
57+
file: ./docker/Dockerfile
5758
platforms: ${{ matrix.platform }}
5859
labels: ${{ steps.meta.outputs.labels }}
5960
tags: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Start with BioSim base image.
22
ARG BASE_IMAGE=latest
3-
FROM ghcr.io/jimboid/biosim-jupyterhub-base:$BASE_IMAGE
3+
FROM ghcr.io/ccpbiosim/jupyterhub-base:$BASE_IMAGE
44

55
LABEL maintainer="James Gebbie-Rayet <james.gebbie@stfc.ac.uk>"
66
LABEL org.opencontainers.image.source=https://github.com/jimboid/biosim-structure-validation-workshop
@@ -14,19 +14,14 @@ WORKDIR $HOME
1414
# Install workshop deps
1515
RUN pip install requests
1616

17-
COPY --chown=1000:100 exercise1.ipynb /home/jovyan
18-
COPY --chown=1000:100 exercise2.ipynb /home/jovyan
19-
20-
COPY --chown=1000:100 coot_dens.png /home/jovyan
21-
COPY --chown=1000:100 errb4_validation_report.png /home/jovyan
22-
COPY --chown=1000:100 pdbekb_structures.png /home/jovyan
23-
COPY --chown=1000:100 RNApol_in_uglymol.png /home/jovyan
17+
COPY --chown=1000:100 . .
18+
RUN rm -rf LICENSE README.md docker .git .github
2419

2520
# Copy lab workspace
26-
COPY --chown=1000:100 default-37a8.jupyterlab-workspace /home/jovyan/.jupyter/lab/workspaces/default-37a8.jupyterlab-workspace
21+
COPY --chown=1000:100 docker/default-37a8.jupyterlab-workspace /home/jovyan/.jupyter/lab/workspaces/default-37a8.jupyterlab-workspace
2722

2823
# UNCOMMENT THIS LINE FOR REMOTE DEPLOYMENT
29-
COPY jupyter_notebook_config.py /etc/jupyter/
24+
COPY docker/jupyter_notebook_config.py /etc/jupyter/
3025

3126
# Always finish with non-root user as a precaution.
3227
USER $NB_USER

0 commit comments

Comments
 (0)