Skip to content

Commit

Permalink
largely functional dockerfile
Browse files Browse the repository at this point in the history
adraismawur committed Oct 3, 2024
1 parent 45bb16d commit 74650bf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions containers/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM mambaorg/micromamba

WORKDIR /home/$MAMBA_USER

# root level stuff
USER root
RUN apt-get update
RUN apt-get install -y git

RUN mkdir /home/data
RUN chown $MAMBA_USER /home/data

USER $MAMBA_USER

# get source code
RUN git clone https://github.com/medema-group/BiG-SCAPE.git -b feature/repo-updates

WORKDIR /home/$MAMBA_USER/BiG-SCAPE

# set up environment
RUN micromamba install \
# channel
-c conda-forge \
# accept all prompts
-y \
# name of env
-n base \
# get python
-f environment.yml && \
# clean up cache
micromamba clean --all --yes

RUN chmod u+x bigscape.py

ENTRYPOINT [ "/usr/local/bin/_entrypoint.sh", "./bigscape.py" ]
CMD [ "--help" ]

0 comments on commit 74650bf

Please sign in to comment.