-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile
31 lines (25 loc) · 1.17 KB
/
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
FROM python:3.10.14-bookworm
LABEL org.opencontainers.image.authors="Bioinformatics and DDBJ Center <tazro.ohta@chiba-u.jp>"
LABEL org.opencontainers.image.url="https://github.com/sapporo-wes/sapporo-service"
LABEL org.opencontainers.image.source="https://github.com/sapporo-wes/sapporo-service/blob/main/Dockerfile"
LABEL org.opencontainers.image.version="2.0.6"
LABEL org.opencontainers.image.description="The sapporo-service is a standard implementation conforming to the Global Alliance for Genomics and Health (GA4GH) Workflow Execution Service (WES) API specification."
LABEL org.opencontainers.image.licenses="Apache2.0"
RUN apt update && \
apt install -y --no-install-recommends \
curl \
jq && \
apt clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /tmp
RUN curl -Lo docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-26.1.4.tgz && \
tar -xzf docker.tgz && \
mv docker/docker /usr/local/bin/docker && \
rm -rf docker docker.tgz
WORKDIR /app
COPY . .
RUN python3 -m pip install --no-cache-dir --progress-bar off -U pip && \
python3 -m pip install --no-cache-dir --progress-bar off .
EXPOSE 1122
ENTRYPOINT []
CMD ["sapporo"]