zavolanlab / htsinfer

Infer metadata for your downstream analysis straight from your RNA-seq data
Apache License 2.0
9 stars 22 forks source link

Dockerfile does not make use of Conda environment #143

Closed uniqueg closed 10 months ago

uniqueg commented 10 months ago

Problem

The project's dependencies are encoded in the Conda environment file environment.yml, allowing developers to easily set up a local environment for testing/developing HTSinfer.

On the other hand, when building a Docker image from the provided Dockerfile, dependencies are installed via apt and pip, not Conda.

This leads to discrepancies between environments being set up locally, during CI and during use. Moreover, dependency versions need to be maintained in two different locations.

Solution

Use Conda to build the environment inside the Docker image.