forked from aiim-research/GRETEL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerfile
37 lines (29 loc) · 989 Bytes
/
dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM python:3.9-slim-bullseye
ARG USERNAME=scientist
ARG USER_UID=1000
ARG USER_GID=$USER_UID
# Setup VS code compatibility for easy interaction with code inside container
RUN mkdir -p /home/$USERNAME/.vscode-server/extensions \
/home/$USERNAME/.vscode-server-insiders/extensions
RUN apt update \
&& apt install -y \
curl \
locales \
nano \
ssh \
sudo \
bash \
git \
make \
gcc \
wget\
build-essential \
python3-dev \
python3-tk
RUN mkdir -p /home/$USERNAME/.gretel/data
VOLUME /home/$USERNAME/.gretel
COPY ./ /home/$USERNAME/gretel
# Install project requirements
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install picologging==0.9.2 exmol gensim joblib jsonpickle matplotlib networkx numpy pandas rdkit scikit-learn scipy==1.10.1 selfies sqlalchemy black typing-extensions torch_geometric==2.4.0 dgl IPython ipykernel flufl.lock jsonc-parser
CMD ["/bin/bash"]