-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) * Added dockerfile, requirements, installation instructions, fixed contiguous array error in Python3.10 * Fixed old email * Added NAR link for AlphaFind --------- Co-authored-by: Terézia Slanináková <xslanin@mail.muni.cz>
- Loading branch information
1 parent
3e84db4
commit fff4561
Showing
6 changed files
with
77 additions
and
20 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,31 @@ | ||
FROM python:3.10-slim | ||
|
||
LABEL author="Terézia Slanináková" | ||
LABEL email="slaninakova@mail.muni.cz" | ||
LABEL website="https://disa.fi.muni.cz/complex-data-analysis/" | ||
|
||
# Set the version of the image to use, default: cpu | ||
ARG version=cpu | ||
|
||
# Install linux packages | ||
RUN apt-get update && apt-get install vim -y | ||
|
||
# Install required python packages | ||
COPY requirements-${version}.txt /tmp/ | ||
COPY requirements.txt /tmp/ | ||
RUN pip install --upgrade pip | ||
RUN pip install --no-cache-dir -r /tmp/requirements-${version}.txt | ||
|
||
# Create user, make it the owner of the home directory | ||
RUN addgroup --gid 1000 user && adduser --gid 1000 --uid 1000 --disabled-password --gecos user user | ||
USER root | ||
RUN chown -R user:user /home/user && chmod -R 755 /home/user | ||
|
||
# Copy the files from the host to the container and install the local package | ||
COPY . /home/user | ||
RUN pip install -e /home/user | ||
|
||
USER user | ||
WORKDIR /home/user | ||
|
||
CMD ['/bin/sh', '-c', 'bash'] |
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
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,3 @@ | ||
-r requirements.txt | ||
--extra-index-url=https://download.pytorch.org/whl/cpu | ||
torch==2.1.1 |
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,2 @@ | ||
-r requirements.txt | ||
torch==2.1.1 |
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,10 @@ | ||
numpy==1.26.2 | ||
matplotlib==3.8.1 | ||
pandas==2.1.3 | ||
scikit-learn==1.3.2 | ||
h5py==3.10.0 | ||
flake8==6.1.0 | ||
tqdm==4.66.1 | ||
faiss-cpu==1.7.4 | ||
setuptools==60.7.0 | ||
jupyterlab==4.0.8 |
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