Skip to content

Commit

Permalink
Merge pull request #600 from chrisjonesBSU/fix-container
Browse files Browse the repository at this point in the history
Update container
  • Loading branch information
chrisjonesBSU authored Feb 10, 2025
2 parents 5ef942c + a3812dc commit a869823
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
ARG PY_VERSION=3.10
FROM continuumio/miniconda3:4.10.3-alpine AS builder
FROM continuumio/miniconda3:23.5.2-0-alpine AS builder

EXPOSE 8888

LABEL maintainer.name="mosdef-hub"\
maintainer.url="https://mosdef.org"

ENV PATH /opt/micromamba/bin:$PATH
ENV PATH /opt/conda/bin:$PATH

USER root

Expand All @@ -21,12 +20,11 @@ RUN apk update && apk add libarchive &&\
conda update conda -yq && \
conda config --set always_yes yes --set changeps1 no && \
. /opt/conda/etc/profile.d/conda.sh && \
sed -i -E "s/python.*$/python="$(PY_VERSION)"/" environment.yml && \
conda install -c conda-forge mamba && \
mamba env create --file environment-dev.yml && \
conda install -c conda-forge mamba git && \
mamba env create --file environment-dev.yml python=3.12 && \
conda activate foyer-dev && \
mamba install -c conda-forge jupyter python="$PY_VERSION" && \
python setup.py install && \
mamba install -c conda-forge jupyter && \
pip install -e .&& \
echo "source activate foyer-dev" >> \
/home/anaconda/.profile && \
conda clean -afy && \
Expand Down

0 comments on commit a869823

Please sign in to comment.