mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-19 09:00:59 +00:00
Add Dockerfile, docker-compose and Makefile in order to be able to use this as an isolated env
This commit is contained in:
parent
0e0f1a607a
commit
95d203894d
4 changed files with 29 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -15,3 +15,5 @@ build/
|
||||||
.ipynb_checkpoints
|
.ipynb_checkpoints
|
||||||
|
|
||||||
*.*~
|
*.*~
|
||||||
|
|
||||||
|
*.idea
|
||||||
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
FROM python:alpine3.7
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
RUN pip install -r python/requirements.txt
|
||||||
|
|
||||||
11
Makefile
Normal file
11
Makefile
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
build:
|
||||||
|
docker-compose build
|
||||||
|
|
||||||
|
py-shell:
|
||||||
|
docker-compose run package ipython
|
||||||
|
|
||||||
|
shell:
|
||||||
|
docker-compose run package bash
|
||||||
|
|
||||||
|
test:
|
||||||
|
docker-compose run package python -m unittest
|
||||||
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
package:
|
||||||
|
image: facebook/prophet
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- .:/usr/src/app
|
||||||
Loading…
Reference in a new issue