-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbatect.yml
38 lines (36 loc) · 1 KB
/
batect.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
containers:
build-env:
image: jupyter/minimal-notebook #jupyter/datascience-notebook
# working_directory: /src
# environment:
# PYTHONPATH: "/src"
# PYTHONUSERBASE: "/src/.pip-cache"
# PIPENV_VENV_IN_PROJECT: true
# run_as_current_user:
# enabled: true
# home_directory: /home/container-user
volumes:
- local: .
container: /home/jovyan/work
options: cached
# - type: cache
# container: /src/.pip-cache
# name: pip-cache
ports:
- local: 8888
container: 8888
tasks:
## Run First! tasks
dep:
description: Run this before doing the python stuff. It installs the dependencies into the local cache.
group: Run First! tasks
run:
container: build-env
command: sh -c 'pip install --user -r requirements.txt'
## Utility tasks
dev:
description: Start a shell in the development environment.
group: Utility tasks
run:
container: build-env
entrypoint: start-notebook.sh