-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CE-263] Create dockerfiles for v0.8.0-beta
This is for engine service Change-Id: I77af7ce2ac58f5e2f229162aa096e22bb9872dff Signed-off-by: sally <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
# Copyright IBM Corp, All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
FROM hyperledger/cello-baseimage:x86_64-0.8.0-beta | ||
MAINTAINER Baohua Yang <"[email protected]"> | ||
ENV TZ Asia/Shanghai | ||
|
||
WORKDIR /app | ||
COPY ./requirements.txt /app | ||
RUN pip install -r requirements.txt | ||
|
||
RUN apt-get install -y wget git-core | ||
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git | ||
RUN cp -r /tmp/cello/src /app | ||
|
||
WORKDIR /app/src | ||
# use this in development | ||
CMD ["python", "restserver.py"] | ||
|
||
# use this in product | ||
#CMD ["gunicorn", "-w", "128", "-b", "0.0.0.0:80", "restserver:app"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
# Copyright IBM Corp, All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
docker-compose>=1.16.0,<=1.18.0 | ||
Flask>=0.10.0,<=1.12.0 | ||
greenlet>=0.4.5,<=0.4.12 | ||
gunicorn>=19.0.0,<=19.6.0 | ||
pymongo>=3.2.0,<=3.4.0 | ||
requests>=2.0.0,<=2.13.0 | ||
mongoengine>=0.10.0,<=0.13.0 | ||
flask-login>=0.4.0,<=0.4.0 | ||
bcrypt>=3.0.0,<=3.1.0 | ||
flask-restful>=0.2.1,<=0.3.6 | ||
Flask-Testing>=0.5.0,<=0.6.2 | ||
Faker>=0.7.17,<=0.7.18 | ||
pyvmomi>=5.5.0,<=6.5.0 | ||
enum34>=1.1.0,<=1.1.6 | ||
marshmallow>=2.13.6,<=2.14.0 |