-
Notifications
You must be signed in to change notification settings - Fork 119
/
Dockerfile
39 lines (27 loc) · 1018 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
FROM python:3.9.17-slim as app
ARG PYCIRCLIZE_VER="1.0.0"
# 'LABEL' instructions tag the image with metadata that might be important to the user
LABEL base.image="python:3.9.17-slim"
LABEL dockerfile.version="1"
LABEL software="pyCirclize"
LABEL software.version="${PYCIRCLIZE_VER}"
LABEL description="Circular visualization in Python"
LABEL website="https://github.com/moshi4/pyCirclize"
LABEL license="https://github.com/moshi4/pyCirclize/blob/main/LICENSE"
LABEL maintainer="Erin Young"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install -y --no-install-recommends \
procps && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache pycirclize==${PYCIRCLIZE_VER}
ENV PATH=$PATH \
LC_ALL=C
CMD pip show pycirclize
WORKDIR /data
FROM app as test
WORKDIR /test
RUN pip show pycirclize
COPY /tests/* /test/
RUN python example1.py && ls example01.png && \
python example2.py && ls example02.png && \
python example3.py && ls example03.png