-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
46 lines (37 loc) · 1.01 KB
/
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
38
39
40
41
42
43
44
45
46
FROM tensorflow/tensorflow:latest-gpu
# Create the environment:
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN apt-get install -y iputils-ping iproute2 git tmux virtualenv wget vim curl
RUN pip install --upgrade pip
RUN pip install numpy
RUN pip install wandb
RUN pip install scikit-image
RUN pip install tqdm
RUN pip install gdown tensorboard
RUN pip install yuvio
RUN pip install scikit-learn
RUN pip install seaborn
RUN pip install matplotlib
RUN pip install requests
RUN pip install Pillow
RUN pip install pandas
RUN pip install opencv-python
RUN pip install lxml
RUN pip install imgaug
RUN pip install beautifulsoup4
# Add the eidoslab group to the image
# not sure it is really needed but ok
RUN addgroup --gid 1337 eidoslab
# This is wandb stuff
RUN mkdir /.config
RUN chmod 775 /.config
RUN chown -R :1337 /.config
# For pytorch checkpoints
RUN mkdir /.cache
RUN chmod 775 /.cache
RUN chown -R :1337 /.cache
COPY src /src
RUN chmod 775 /src
RUN chown -R :1337 /src
WORKDIR /src
ENTRYPOINT ["python"]