From 27026eec1a7bf8a4b6c17097d4bd6fcc02b879af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Semid=C3=A1n=20Robaina=20Est=C3=A9vez?= Date: Sun, 10 Sep 2023 11:02:55 +0100 Subject: [PATCH] docker --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 477d45e..85550aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,14 +14,14 @@ COPY LICENSE . # Make conda environment and activate # RUN conda install mamba -n base -c conda-forge RUN micromamba env create -f envs/pynteny-dev.yml -SHELL ["conda", "run", "-n", "pynteny-dev", "/bin/bash", "-c"] +SHELL ["micromamba", "run", "-n", "pynteny-dev", "/bin/bash", "-c"] # Build and install Pynteny RUN poetry build && pip install dist/pynteny*.whl && pynteny --help # Give read/write permissions to install directory (needed to make config.json) RUN chmod ugo+rw /opt/conda/envs/pynteny-dev/lib/python3.10/site-packages # Initialize conda for default user -RUN conda init +RUN micromamba sheel init # # Activate pynteny environment by default RUN echo "conda activate pynteny-dev" >> ../root/.bashrc RUN source ../root/.bashrc \ No newline at end of file