anchor/Dockerfile
Robert Clark 6f415b0fec Adding bootstrap to docker container
This commit removes the key generation stage of building Anchor
containers. When a container is started it will look for a key in a
docker volume named '/key' if there is a correctly formatted key it will
attempt to use it. If not it will generate one before starting normal
operations.

Change-Id: I569f0fe07171faeed0cffc7c87f3075a094ec811
2017-02-20 11:10:07 -05:00

7 lines
136 B
Docker

FROM python:2.7
RUN pip install pecan
ADD . /code
WORKDIR /code
RUN pip install -e .
ENTRYPOINT ["python","bin/container_bootstrap.py"]