Skip to content

Commit

Permalink
add dockerfile for tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
janash committed Jul 24, 2024
1 parent 3797027 commit ba484f2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM molssi/debian-bullseye-slim-dev:latest

LABEL maintainer="Mohammad Mostafanejad, \
Molecular Sciences Software Institute"

ENV CONDA_PREFIX /opt/conda
ENV PATH ${CONDA_PREFIX}/bin:$PATH

COPY --from=condaforge/mambaforge ${CONDA_PREFIX} ${CONDA_PREFIX}

RUN echo ". ${CONDA_PREFIX}/etc/profile.d/conda.sh" >> $HOME/.bashrc \
&& echo "conda activate base" >> $HOME/.bashrc \
&& conda update conda \
&& mamba clean -ay \
&& find ${CONDA_PREFIX} -follow -type f -name '*.a' -delete \
&& find ${CONDA_PREFIX} -follow -type f -name '*.pyc' -delete \
&& find ${CONDA_PREFIX} -follow -type f -name '*.js.map' -delete

0 comments on commit ba484f2

Please sign in to comment.