Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCensi committed Mar 3, 2019
1 parent b27023c commit 52bb5a6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**
!src
!setup.py
!requirements.txt
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
out-experiments
*egg-info
*.tmp_*
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

COPY . .
RUN python setup.py develop --no-deps

RUN python setup.py develop --no-nodeps
ENV DISABLE_CONTRACTS=1

CMD ["carma1"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Run using:

## Run

docker run -it rc
docker run -it -v $PWD/out-experiments:/out-experiments -w / rc

17 changes: 5 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,13 @@
entry_points={
'console_scripts': [
'carma1 = carma:carma1_main',
'carma2 = carma:carma2_main',
# 'carma2 = carma:carma2_main',
]
},
install_requires=[
'pybase64',
'PyContracts',
'IPython',
'validate_email',
'mypy_extensions',
'nose',
'coverage',
'networkx',
'dataclasses',
'jsonschema',
'pydot',
'numpy',
'reprep',
# 'nose',
# 'coverage',
],
)

0 comments on commit 52bb5a6

Please sign in to comment.