-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (21 loc) Β· 934 Bytes
/
Dockerfile
File metadata and controls
24 lines (21 loc) Β· 934 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
FROM ubuntu:22.04
# base requirements
RUN apt-get update
RUN apt-get install -y coreutils
RUN apt-get install -y libgl1-mesa-glx
RUN apt-get install -y libglib2.0-0
RUN apt-get install -y python3 python3-pip
RUN apt-get install -y git
RUN git config --global --add safe.directory /__w/openscope_databook/openscope_databook
# copy databook setup files
COPY pyproject.toml ./openscope_databook/pyproject.toml
COPY requirements-ci.txt ./openscope_databook/requirements-ci.txt
COPY setup.py ./openscope_databook/setup.py
COPY README.md ./openscope_databook/README.md
COPY LICENSE.txt ./openscope_databook/LICENSE.txt
COPY databook_utils ./openscope_databook/databook_utils
# for reasons I don't understand, these must be installed before the rest the requirements
RUN pip install numpy cython
# set up databook dependencies
RUN pip install -r ./openscope_databook/requirements-ci.txt
RUN pip install --no-deps -e ./openscope_databook