-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #338 from autorope/dev
remove non core parts
- Loading branch information
Showing
31 changed files
with
184 additions
and
1,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
FROM python:3 | ||
FROM python:3.6 | ||
|
||
WORKDIR /app | ||
|
||
# install donkey with tensorflow (cpu only version) | ||
ADD ./setup.py /app/setup.py | ||
ADD ./README.md /app/README.md | ||
RUN pip install -e .[tf] | ||
|
||
# get testing requirements | ||
RUN pip install -e .[dev] | ||
|
||
# setup jupyter notebook to run without password | ||
RUN pip install jupyter notebook | ||
RUN jupyter notebook --generate-config | ||
RUN echo "c.NotebookApp.password = ''">>/root/.jupyter/jupyter_notebook_config.py | ||
RUN echo "c.NotebookApp.token = ''">>/root/.jupyter/jupyter_notebook_config.py | ||
|
||
# add the whole app dir after install so the pip install isn't updated when code changes. | ||
ADD . /app | ||
RUN pip install -e . | ||
|
||
#start the jupyter notebook | ||
CMD jupyter notebook --no-browser --ip 0.0.0.0 --port 8888 --allow-root --notebook-dir=/app/notebooks | ||
|
||
#port for donkeycar | ||
EXPOSE 8887 | ||
|
||
#port for jupyter notebook | ||
EXPOSE 8888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include donkeycar/templates/* | ||
recursive-include donkeycar/parts/web_controller/templates/ * | ||
include VERSION | ||
recursive-include donkeycar/parts/web_controller/templates/ * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
tests: | ||
pytest | ||
|
||
package: | ||
python setup.py sdist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.