1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-12-28 07:37:50 +01:00
bigchaindb/Dockerfile-dev

20 lines
425 B
Plaintext
Raw Normal View History

FROM python:3.6
LABEL maintainer "dev@bigchaindb.com"
RUN apt-get update \
&& apt-get install -y vim \
&& pip install pynacl \
&& apt-get autoremove \
&& apt-get clean
ENV BIGCHAINDB_SERVER_BIND 0.0.0.0:9984
ENV BIGCHAINDB_WSSERVER_HOST 0.0.0.0
ARG backend
RUN mkdir -p /usr/src/app
COPY . /usr/src/app/
WORKDIR /usr/src/app
RUN pip install --no-cache-dir -e .[dev]
RUN bigchaindb -y configure "$backend"