-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (23 loc) · 833 Bytes
/
Dockerfile
File metadata and controls
27 lines (23 loc) · 833 Bytes
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
# requirements
FROM ubuntu:20.04 AS base
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ="Europe/Stockholm"
RUN apt-get update &&\
apt-get upgrade -y
RUN apt-get install -y \
build-essential gcc g++ gfortran libopenblas-base libopenblas-dev libjpeg-dev zlib1g zlib1g-dev zlibc libffi-dev \
python3.8 python3.8-dev python3-numpy python3-matplotlib python3-scipy python3-twisted python3-pandas \
python3-seaborn python3-click python3-pyglet python3-pip wget at python3-markupsafe
COPY ./requirements.txt /opt/
COPY ./requirements_viz.txt /opt/
RUN python3 -m pip install -U pip
RUN python3 -m pip install \
-r /opt/requirements.txt \
-r /opt/requirements_viz.txt
# cleave
FROM base AS cleave
COPY . /CLEAVE
WORKDIR /CLEAVE
RUN pip3 install -U .
RUN mkdir -p /output
ENTRYPOINT ["python3", "cleave.py", "-vvvvv"]