-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 757 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 757 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
28
29
30
31
32
33
34
FROM python:3.8-slim-buster
RUN apt-get install -y bash
RUN python3.8 -m pip install --upgrade pip
RUN ln -s /usr/bin/python3.8 /usr/bin/python & \
ln -s /usr/bin/pip3 /usr/bin/pip
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /simphony/simcmclkinetics
COPY ./LICENCE.md .
COPY ./packageinfo.py .
COPY ./cmcl_logo.png .
COPY ./cmcl.ontology.yml .
COPY ./osp ./osp
COPY ./setup.py .
COPY ./examples ./examples
COPY ./tests ./tests
COPY ./README.md .
COPY ./entrypoint.sh .
COPY ./.env .
ARG KINETICS_AGENT_BASE_URL
ENV KINETICS_AGENT_BASE_URL $KINETICS_AGENT_BASE_URL
RUN python -m pip install .
RUN python -m pip install -r tests/test_requirements.txt
RUN pico install cmcl.ontology.yml
ENTRYPOINT ["./entrypoint.sh"]
CMD ["test"]