forked from oceanprotocol/aquarius
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (37 loc) · 875 Bytes
/
Dockerfile
File metadata and controls
44 lines (37 loc) · 875 Bytes
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
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 . /aquarius
WORKDIR /aquarius
# Only install install_requirements, not dev_ or test_requirements
RUN pip install .
# config.ini configuration file variables
ENV DB_MODULE='mongodb'
ENV DB_HOSTNAME='localhost'
ENV DB_PORT='27017'
#MONGO
ENV DB_NAME='aquarius'
ENV DB_COLLECTION='ddo'
#ELASTIC
ENV DB_INDEX='aquarius'
#BDB
ENV DB_SECRET=''
ENV DB_SCHEME='http'
ENV DB_NAMESPACE='namespace'
ENV AQUARIUS_URL='http://0.0.0.0:5000'
# docker-entrypoint.sh configuration file variables
ENV AQUARIUS_WORKERS='1'
ENTRYPOINT ["/aquarius/docker-entrypoint.sh"]
EXPOSE 5000