Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: install awb in lab stack #370

Closed
wants to merge 4 commits into from
Closed
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
22 changes: 20 additions & 2 deletions stack/lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ RUN git clone https://github.com/aiidalab/aiidalab-home && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Install aiidalab-base-widgets
RUN mamba install --yes \
PyCifRW~=4.4 \
ansi2html~=1.6 \
ase~=3.18 \
bokeh~=2.0 \
humanfriendly~=10.0 \
ipytree~=0.2 \
ipywidgets~=7.7 \
"widgetsnbextension<3.6.3" \
more-itertools~=8.0 \
pymysql~=0.9 \
nglview~=3.0 \
spglib~=1.14 \
&& mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
RUN pip install --no-cache-dir aiidalab-widgets-base==2.0.0b6

# Install and enable appmode.
RUN git clone https://github.com/oschuett/appmode.git && \
cd appmode && \
Expand Down Expand Up @@ -70,7 +89,6 @@ ENV AIIDALAB_DEFAULT_GIT_BRANCH master
#
# Please note that multiple entries must be whitespace delimited.
# Please see `aiidalab install --help` for more information.
# ENV AIIDALAB_DEFAULT_APPS "aiidalab-widgets-base~=1.0"
ENV AIIDALAB_DEFAULT_APPS ""

# Specify default factory reset (not set):
Expand All @@ -80,7 +98,7 @@ USER ${NB_USER}

WORKDIR "/home/${NB_USER}"

RUN mkdir -p /home/${NB_USER}/apps
RUN mkdir -p /home/${NB_USER}/apps

ENV NOTEBOOK_ARGS \
"--NotebookApp.default_url='/apps/apps/home/start.ipynb'" \
Expand Down