File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 1 cd C:\temp\Sample - Python
2+ 2 cd "C:\temp\Sample - Python"
3+ 3 docker build -t samplepython .
4+ 4 docker run samplepython
5+ 5 docker build -t samplepython .
6+ 6 docker run samplepython
7+ 7 docker build -t samplepython .
8+ 8 docker run samplepython
9+ 9 docker ps -a
10+ 10 docker rm fe1aa90a8ffb
11+ 11 docker rmi samplepython --force
12+ 12 git init
13+ 13 git status
14+ 14 git add .
15+ 15 git status
16+ 16 git commit -m "my first commit"
17+ 17 git status
18+ 18 git remote add origin https://github.com/pavanshivanand/samplepython.git
19+ 19 git remote -v
20+ 20 git push origin master
Original file line number Diff line number Diff line change 1+ FROM python:latest
2+ WORKDIR /app
3+ COPY sample.py /app/
4+ CMD ["python", "sample.py"]
Original file line number Diff line number Diff line change 1+ print ("Hello World" )
2+ print ("How are you" )
You can’t perform that action at this time.
0 commit comments