-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM continuumio/miniconda3 | ||
RUN apt-get update | ||
|
||
#NOTE: I don't know whether the --fix-broken is actually needed | ||
RUN apt-get -y install gcc libdeflate-dev libcurl4-openssl-dev --fix-broken | ||
|
||
WORKDIR /cgr-dev | ||
|
||
RUN mkdir GwasQcPipeline | ||
|
||
WORKDIR /cgr-dev/GwasQcPipeline | ||
|
||
ENV PYTHONPATH=${PYTHONPATH}:${PWD} | ||
|
||
COPY . . | ||
|
||
#NOTE: I don't think we need a special env inside the container | ||
#RUN conda create -n cgr-dev python=3.8 poetry make -y | ||
#RUN echo "conda activate cgr-dev" >> ~/.bashrc | ||
#RUN conda init bash && conda activate cgr-dev | ||
|
||
RUN conda install poetry make -y | ||
RUN conda install -c conda-forge mamba | ||
RUN poetry config virtualenvs.create false | ||
RUN poetry install --without dev | ||
|
||
#NOTE: Aren't these also not needed? Unless somehow the docs adds the help for the CLI... | ||
#RUN make -C docs html | ||
#RUN pytest -v | ||
#RUN pre-commit install | ||
#RUN pre-commit run | ||
|
||
WORKDIR /cgr-dev | ||
|
||
ENTRYPOINT [ "cgr" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters