-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
53 lines (43 loc) · 1.21 KB
/
Dockerfile
File metadata and controls
53 lines (43 loc) · 1.21 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM python:3.6-alpine
LABEL maintainer="Ocean Protocol <devops@oceanprotocol.com>"
ARG VERSION
RUN apk add --no-cache --update\
build-base \
gcc \
gettext\
gmp \
gmp-dev \
libffi-dev \
openssl-dev \
py-pip \
python3 \
python3-dev \
&& pip install virtualenv
COPY . /brizo
WORKDIR /brizo
RUN pip install .
# config.ini configuration file variables
ENV KEEPER_URL='http://127.0.0.1:8545'
ENV AQUARIUS_URL='http://127.0.0.1:5000'
ENV SECRET_STORE_URL='http://127.0.0.1:12001'
ENV PARITY_ADDRESS=''
ENV PARITY_PASSWORD=''
ENV AZURE_ACCOUNT_NAME=''
ENV AZURE_ACCOUNT_KEY=''
ENV AZURE_RESOURCE_GROUP=''
ENV AZURE_LOCATION=''
ENV AZURE_CLIENT_ID=''
ENV AZURE_CLIENT_SECRET=''
ENV AZURE_TENANT_ID=''
ENV AZURE_SUBSCRIPTION_ID=''
# Note: AZURE_SHARE_INPUT and AZURE_SHARE_OUTPUT are only used
# for Azure Compute data assets (not for Azure Storage data assets).
# If you're not supporting Azure Compute, just leave their values
# as 'compute' and 'output', respectively.
ENV AZURE_SHARE_INPUT='compute'
ENV AZURE_SHARE_OUTPUT='output'
ENV BRIZO_URL='http://0.0.0.0:8030'
# docker-entrypoint.sh configuration file variables
ENV BRIZO_WORKERS='1'
ENTRYPOINT ["/brizo/docker-entrypoint.sh"]
EXPOSE 8030