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
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
From python:2
EXPOSE 8888
WORKDIR /home
ADD hospitaldata.csv /home
ADD Faizan_khi_Python_Assignment2.ipynb /home
RUN pip install notebook
RUN pip install pandas
RUN pip install numpy
RUN pip install matplotlib
RUN pip install datetime
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root"]
4 changes: 4 additions & 0 deletions Faizan_Docker_Assignment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
To build Docker image "docker . build"
To run "docker run -it -p 8888:8888 [Docker ID or tag]"
docker hub repository "https://hub.docker.com/r/mfaizanmajeed/dockerassignment/"
To pull "docker pull mfaizanmajeed/dockerassignment"
Loading