Skip to content

Commit

Permalink
micromamba in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Robaina committed Sep 10, 2023
1 parent 9c7cfbb commit 52c40ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM mcr.microsoft.com/devcontainers/miniconda:0-3
# FROM mcr.microsoft.com/devcontainers/miniconda:0-3
FROM mambaorg/micromamba:latest
USER root

WORKDIR /Pynteny
Expand All @@ -11,8 +12,8 @@ COPY pyproject.toml .
COPY LICENSE .

# Make conda environment and activate
RUN conda install mamba -n base -c conda-forge
RUN mamba env create -f envs/pynteny-dev.yml
# 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"]
# Build and install Pynteny
RUN poetry build && pip install dist/pynteny*.whl && pynteny --help
Expand Down

0 comments on commit 52c40ab

Please sign in to comment.