-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 818 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Start with BioSim base image.
ARG BASE_IMAGE=latest
FROM ghcr.io/ccpbiosim/jupyterhub-base:$BASE_IMAGE
LABEL maintainer="James Gebbie-Rayet <james.gebbie@stfc.ac.uk>"
ARG TARGETPLATFORM
# Switch to jovyan user.
USER $NB_USER
WORKDIR $HOME
# Install workshop deps
RUN mamba install oddt::oddt -y
RUN pip install openbabel-wheel
RUN mamba install termcolor numpy=2.3.5 matplotlib seaborn pandas vina
# Get workshop files and move them to jovyan directory.
COPY --chown=1000:100 . .
RUN rm -rf chimerax_commands.cxc LICENSE README.md docking_with_rescoring simple_docking docker .git .github
# Copy lab workspace
COPY --chown=1000:100 docker/default-37a8.jupyterlab-workspace /home/jovyan/.jupyter/lab/workspaces/default-37a8.jupyterlab-workspace
# Always finish with non-root user as a precaution.
USER $NB_USER