Skip to content

Commit

Permalink
Update docker build for mamba/conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
seina001 committed Jun 30, 2023
1 parent c472bab commit 789709b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
FROM continuumio/miniconda3:4.10.3
FROM condaforge/mambaforge:4.10.3-5

# Install system dependencies
# # Install system dependencies
RUN apt-get update && \
apt-get install -y build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

LABEL org.opencontainers.image.source="https://github.com/usda-ars-gbru/itsxpress"
# Install conda dependencies
RUN conda install -c bioconda vsearch=2.22.1 hmmer=3.1b2
RUN conda update mamba -c conda-forge
RUN mamba install -c conda-forge python=3.8.16
RUN mamba install -c bioconda vsearch=2.22.1 hmmer=3.1b2

# Copy the itsxpress package files and install dependencies
COPY . /app
WORKDIR /app
RUN pip install --no-cache-dir .

# Set the default command to run itsxpress
CMD ["itsxpress"]
CMD ["itsxpress"]

0 comments on commit 789709b

Please sign in to comment.