Skip to content

Commit

Permalink
Add more Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Sep 20, 2020
1 parent 096079a commit 129cbf5
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.develop → docker/Dockerfile.develop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM freqtradeorg/freqtrade:develop

# Install dependencies
COPY requirements-dev.txt /freqtrade/

RUN pip install numpy --no-cache-dir \
&& pip install -r requirements-dev.txt --no-cache-dir

Expand Down
7 changes: 7 additions & 0 deletions docker/Dockerfile.jupyter
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM freqtradeorg/freqtrade:develop_plot


RUN pip install jupyterlab --no-cache-dir

# Empty the ENTRYPOINT to allow all commands
ENTRYPOINT []
9 changes: 9 additions & 0 deletions docker/Dockerfile.plot
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM freqtradeorg/freqtrade:develop

# Install dependencies
COPY requirements-plot.txt /freqtrade/

RUN pip install -r requirements-plot.txt --no-cache-dir

# Empty the ENTRYPOINT to allow all commands
ENTRYPOINT []
File renamed without changes.
16 changes: 16 additions & 0 deletions docker/docker-compose-jupyter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
version: '3'
services:
freqtrade:
build:
context: ..
dockerfile: docker/Dockerfile.jupyter
restart: unless-stopped
container_name: freqtrade
ports:
- "18889:8888"
volumes:
- "./user_data:/freqtrade/user_data"
# Default command used when running `docker compose up`
command: >
jupyter lab --port=8888 --ip 0.0.0.0 --allow-root

0 comments on commit 129cbf5

Please sign in to comment.