mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-05 14:39:52 +08:00
added docker build image for Blockstack API
This commit is contained in:
19
images/docker/api/Dockerfile
Normal file
19
images/docker/api/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM docker/whalesay:latest
|
||||
|
||||
RUN sudo apt-get update && sudo apt-get install -y build-essential python-pip git-core python-dev libssl-dev libffi-dev rng-tools libgmp3-dev
|
||||
RUN sudo pip install pip --upgrade
|
||||
RUN sudo pip install blockstack --upgrade
|
||||
|
||||
RUN mkdir -p /usr/local/blockstack-core
|
||||
RUN git clone https://github.com/blockstack/blockstack-core /usr/local/blockstack-core
|
||||
|
||||
WORKDIR /usr/local/blockstack-core
|
||||
|
||||
RUN git fetch origin
|
||||
RUN git checkout -b api origin/api
|
||||
RUN sudo apt-get install -y libmemcached-dev zlib1g-dev
|
||||
RUN pip install --upgrade -r api/requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD bin/blockstack-api
|
||||
Reference in New Issue
Block a user