Skip to content

Commit

Permalink
Added Dockerfile. (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Schulz authored Sep 5, 2019
1 parent fb041e4 commit 0c64a03
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .git/
.mypy_cache/

build
dist
docs
test

**/*.egg-info
**/*.eggs/
**/*.pyc
**/*.swp

.tox
.coverage
codecov.yml
**/html/*
**/__pycache__

# Compiled Documentation
docs/_build
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3

ADD . /gluonts

RUN pip install /gluonts[shell]

ENTRYPOINT ["python", "-m", "gluonts.shell"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def run(self):

setup_kwargs: dict = dict(
name="gluonts",
use_scm_version=True,
use_scm_version={"fallback_version": "0.0.0"},
description=(
"GluonTS is a Python toolkit for probabilistic time series modeling, "
"built around MXNet."
Expand Down

0 comments on commit 0c64a03

Please sign in to comment.