-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
26 lines (22 loc) · 982 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
##### BASE IMAGE #####
FROM elixircloud/foca:20221110-py3.10
##### METADATA #####
LABEL version="1.2"
LABEL software="proTES"
LABEL software.description="Flask microservice implementing the Global Alliance for Genomics and Health (GA4GH) Task Execution Service (TES) API specification as a proxy for middleware injection (e.g., task distribution logic)."
LABEL software.website="https://github.com/elixir-europe/proTES"
LABEL software.documentation="https://github.com/elixir-europe/proTES"
LABEL software.license="https://spdx.org/licenses/Apache-2.0"
LABEL maintainer="[email protected]"
LABEL maintainer.organisation="ELIXIR Cloud & AAI"
# Python UserID workaround for OpenShift/K8S
ENV LOGNAME=ipython
ENV USER=ipython
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
COPY ./ .
RUN pip install -e .
## Add permissions for storing updated API specification
## (required by FOCA)
RUN chmod -R a+rwx /app/pro_tes/api