Added a dockerfile for easy running of examples.#199
Added a dockerfile for easy running of examples.#199chinmayshah99 merged 1 commit intoOpenMined:test-dockerfilesfrom
Conversation
|
Can we add this to when we publish it on docker hub? |
Sure that is not a problem 😀 However, asking the user to build the image is a one-liner I am in favor of a) as it's done. If we opt for b) then I'd like to try shrink the image some more. As pandas alone uses ~96MB. I'm sure a few flags like I'll work on b) in the next few days. For now users can be pointed to solution a). |
|
People using Sandbox will be directly doing docker pull rather than docker build. So we need to minimize the docker file size! |
| @@ -0,0 +1,18 @@ | |||
| # Pull base image | |||
There was a problem hiding this comment.
What base image do you have in mind?
Description
Following a slack conversation there was a desire for a simple way to run the PyDP examples. It's a minimal docker image with the example dependencies and jupyter installed.
Summary added to readme:
Docker alternative
To run the examples in a container:
cd PyDP/examplesdocker build -t pydp-sandbox:local .docker run -p 8899:8899 pydp-sandbox:localdisplayed urlin a browser.Affected Dependencies
None.
How has this been tested?
Tested on my local machine following the
examples/readme.mdChecklist