forked from oceanprotocol/provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
52 lines (41 loc) · 1.28 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM ubuntu:18.04
LABEL maintainer="Ocean Protocol <[email protected]>"
ARG VERSION
RUN apt-get update && \
apt-get install --no-install-recommends -y \
gcc \
python3.8 \
python3-pip \
python3.8-dev \
gettext-base
COPY . /ocean-provider
WORKDIR /ocean-provider
RUN python3.8 -m pip install setuptools
RUN python3.8 -m pip install .
# config.ini configuration file variables
ENV NETWORK_URL='http://127.0.0.1:8545'
ENV ARTIFACTS_PATH=''
ENV PROVIDER_PRIVATE_KEY=''
ENV PROVIDER_ADDRESS=''
ENV PROVIDER_PASSWORD=''
ENV PROVIDER_KEYFILE=''
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 OCEAN_PROVIDER_URL='http://0.0.0.0:8030'
# docker-entrypoint.sh configuration file variables
ENV OCEAN_PROVIDER_WORKERS='1'
ENV OCEAN_PROVIDER_TIMEOUT='9000'
ENTRYPOINT ["/ocean-provider/docker-entrypoint.sh"]
EXPOSE 8030