Commit 369fab36 authored by muhammad Hassani's avatar muhammad Hassani
Browse files

adding dockerfile

parent ffcded85
ARG ROOT_CONTAINER=pyiron/base:2021-08-09
ARG BASE_CONTAINER=$ROOT_CONTAINER
FROM $BASE_CONTAINER
MAINTAINER Muhammad Hassani <hassani@mpie.de>
USER $DOCKER_UID
WORKDIR $HOME
ARG PYTHON_VERSION=default
COPY environment.yml ${HOME}/
RUN mamba env update -n base -f ${HOME}/environment.yml && \
conda clean --all -f -y && \
conda list
USER root
RUN fix-permissions /home/$DOCKER_USER && \
fix-permissions $CONDA_DIR
# Switch back to pyiron to avoid accidental container runs as root
USER $DOCKER_UID
WORKDIR $HOME
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment