Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
id: build
uses: docker/build-push-action@v6.18.0
with:
file: ./docker/Dockerfile
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
Expand Down
15 changes: 5 additions & 10 deletions Dockerfile → docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Start with BioSim base image.
ARG BASE_IMAGE=latest
FROM ghcr.io/jimboid/biosim-jupyterhub-base:$BASE_IMAGE
FROM ghcr.io/ccpbiosim/jupyterhub-base:$BASE_IMAGE

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

COPY --chown=1000:100 exercise1.ipynb /home/jovyan
COPY --chown=1000:100 exercise2.ipynb /home/jovyan

COPY --chown=1000:100 coot_dens.png /home/jovyan
COPY --chown=1000:100 errb4_validation_report.png /home/jovyan
COPY --chown=1000:100 pdbekb_structures.png /home/jovyan
COPY --chown=1000:100 RNApol_in_uglymol.png /home/jovyan
COPY --chown=1000:100 . .
RUN rm -rf LICENSE README.md docker .git .github

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

# UNCOMMENT THIS LINE FOR REMOTE DEPLOYMENT
COPY jupyter_notebook_config.py /etc/jupyter/
COPY docker/jupyter_notebook_config.py /etc/jupyter/

# Always finish with non-root user as a precaution.
USER $NB_USER
File renamed without changes.