Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ These instructions have been tested on:
- Ubuntu 18.04
- Windows 10

## Running the course on Docker

Run this command from terminal in course directory and copy Jupyter notebook url to browser after installation.

```
docker-compose up
```

## Running the course on Google Colaboratory with free GPU support

Google offers a free platform to run Jupyter notebooks called Google Colaboratory. You need a Gmail or Google Apps email address to use it.
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '2'

services:
zero_to_deep_learning:
build:
context: .
dockerfile: dockerfile

ports:
- 8888:8888
14 changes: 14 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM continuumio/miniconda3:latest

ENTRYPOINT ["/bin/bash", "-c" ]

RUN groupadd -r course -g 1000 && useradd -u 1000 -r -g course -m -d /course -s /sbin/nologin -c "Course user" course && \
chmod 755 /course

RUN git clone https://github.com/Dataweekends/zero_to_deep_learning_udemy /course/zero_to_deep_learning_udemy
WORKDIR /course/zero_to_deep_learning_udemy
RUN conda env create
RUN chown -R course:course .

USER course
CMD ["source activate ztdl && jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser"]