-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathDockerfile2
More file actions
18 lines (14 loc) · 806 Bytes
/
Copy pathDockerfile2
File metadata and controls
18 lines (14 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Must be built *after* the main Dockerfile in this repo (docker build -f
# Dockerfile -t funannotate:latest .) -- the public nextgenusfs/funannotate
# image does not have the Rust-optimized PASA/EVM engine this repo builds.
FROM funannotate:latest
# Install FUNANNOTATE_DB with all lineage databases
# This layer can be large (~5-10GB), so it's separate for caching efficiency
RUN mkdir -p /opt/databases && \
funannotate setup -i all --wget -b dikarya microsporidia embryophyta metazoa arthropoda vertebrata protists tetrapoda -d /opt/databases
# Verify database installation
RUN funannotate database -d /opt/databases --show-versions 2>/dev/null || echo "Databases installed"
# Set environment variable
ENV FUNANNOTATE_DB="/opt/databases"
SHELL ["/bin/bash", "-c"]
CMD ["funannotate", "--help"]