-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
00eab04
commit a844809
Showing
2 changed files
with
22 additions
and
0 deletions.
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,15 @@ | ||
FROM continuumio/miniconda3 | ||
|
||
WORKDIR /app | ||
|
||
# Create the environment: | ||
COPY environment.yml . | ||
RUN conda env create -f environment.yml --name catalogbuilder | ||
|
||
# Make RUN commands use the new environment: | ||
RUN echo "conda activate myenv" >> ~/.bashrc | ||
SHELL ["/bin/bash", "--login", "-c"] | ||
|
||
# The code to run when container is started: | ||
ENTRYPOINT ["./entrypoint.sh"] | ||
|
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,7 @@ | ||
#!/bin/bash --login | ||
# The --login ensures the bash configuration is loaded, | ||
# enabling Conda. | ||
|
||
# Temporarily disable strict mode and activate conda: | ||
conda activate catalogbuilder | ||
|