Skip to content

Instantly share code, notes, and snippets.

@ryshinoz
Last active April 7, 2017 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryshinoz/67de3c43bad876a5dbe8992e246f76da to your computer and use it in GitHub Desktop.
Save ryshinoz/67de3c43bad876a5dbe8992e246f76da to your computer and use it in GitHub Desktop.
git clone https://github.com/tensorflow/playground
cd playground
# Local
npm install
npm run build
npm run serve
# Docker
FROM node:7.7.2
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN npm install && npm run build
ENTRYPOINT ["/usr/local/bin/npm", "run", "serve"]
docker build -t tensorflow-playground .
docker run -p 8080:8080 tensorflow-playground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment