Skip to content

Commit bfffb80

Browse files
authored
Merge pull request #696 from Labelbox/jtso/docker
[AL-0] reduce the number of items docker will copy over
2 parents 8e63674 + ee029e2 commit bfffb80

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.dockerignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
__pycache__/
2+
*.py[cod]
3+
*$py.class
4+
.Python
5+
env
6+
pip-log.txt
7+
pip-delete-this-directory.txt
8+
.tox
9+
.coverage
10+
.coverage.*
11+
.cache
12+
nosetests.xml
13+
coverage.xml
14+
*.cover
15+
*.log
16+
.git
17+
.mypy_cache
18+
.pytest_cache
19+
.hypothesis

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN apt install -y libsm6 \
1313
WORKDIR /usr/src/labelbox
1414
COPY requirements.txt /usr/src/labelbox
1515
RUN pip install -r requirements.txt
16-
COPY . /usr/src/labelbox
16+
COPY setup.py README.md /usr/src/labelbox/
17+
COPY labelbox /usr/src/labelbox/labelbox
1718

1819
RUN python setup.py install

0 commit comments

Comments
 (0)