-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
46 lines (35 loc) · 955 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
38
39
40
41
42
43
44
45
46
FROM python:3.8
WORKDIR /root
# This run command will make dockerfile auto convert line endings
RUN apt-get update -q \
&& apt-get upgrade -qy \
&& apt-get install -qy dos2unix
COPY install-apptainer-ubuntu.sh /root/install-apptainer-ubuntu.sh
RUN dos2unix install-apptainer-ubuntu.sh
RUN bash install-apptainer-ubuntu.sh 1.0.3 1.18.3 \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
bash-completion \
ca-certificates \
git \
libseccomp-dev \
python3 \
python3-pip \
python3-venv \
tzdata \
unzip \
vim \
wget \
build-essential \
gcc-x86-64-linux-gnu \
python3-dev \
g++ \
cmake \
make \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/app/
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN python -m spacy download en_core_web_md
COPY rbp.sif /root/rbp.sif
RUN chmod +x /root/rbp.sif