mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 20:20:55 +08:00
DEV: created dockerfile for zipline development
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# Dockerfile for an image with the currently checked out version of zipline installed. To build:
|
||||
#
|
||||
# docker build -t quantopian/ziplinedev -f Dockerfile-dev .
|
||||
#
|
||||
# To run the container:
|
||||
#
|
||||
# docker run -v /path/to/your/notebooks:/projects -v ~/.zipline:/root/.zipline -p 8888:8888/tcp --name ziplinedev -it quantopian/ziplinedev
|
||||
#
|
||||
# To access Jupyter when running docker locally (you may need to add NAT rules):
|
||||
#
|
||||
# https://127.0.0.1
|
||||
#
|
||||
# default password is jupyter. to provide another, see:
|
||||
# http://jupyter-notebook.readthedocs.org/en/latest/public_server.html#preparing-a-hashed-password
|
||||
#
|
||||
# once generated, you can pass the new value via `docker run --env` the first time
|
||||
# you start the container.
|
||||
#
|
||||
# You can also run an algo using the docker exec command. For example:
|
||||
#
|
||||
# docker exec -it ziplinedev zipline run -f /projects/my_algo.py --start 2015-1-1 --end 2016-1-1 /projects/result.pickle
|
||||
#
|
||||
FROM quantopian/zipline
|
||||
|
||||
RUN cd /zipline && pip install -r etc/requirements_dev.txt -r etc/requirements_blaze.txt
|
||||
Reference in New Issue
Block a user