From 303c2b6bacfb910d62a8f9de989aebc85d9723b0 Mon Sep 17 00:00:00 2001 From: Notahti123 Date: Sat, 12 Aug 2023 22:31:55 +0500 Subject: [PATCH 1/6] First commit --- test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_python.py b/test_python.py index 6ff0c2c..befef40 100644 --- a/test_python.py +++ b/test_python.py @@ -1 +1 @@ -print("HELLO DEV") +print("HELLO KHALID") From b1ee3f5a0b5ca5545632f57113e346358ff67fe5 Mon Sep 17 00:00:00 2001 From: Notahti123 Date: Sat, 12 Aug 2023 22:33:54 +0500 Subject: [PATCH 2/6] First commit --- test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_python.py b/test_python.py index befef40..9787559 100644 --- a/test_python.py +++ b/test_python.py @@ -1 +1 @@ -print("HELLO KHALID") +print("HELLO KHALID") \ No newline at end of file From b0931c453caba923badf18f215e27dec7db91aed Mon Sep 17 00:00:00 2001 From: kparwaz74 <121070385+kparwaz74@users.noreply.github.com> Date: Sun, 27 Aug 2023 21:49:23 +0500 Subject: [PATCH 3/6] Update test_python.py --- test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_python.py b/test_python.py index 9787559..e2e1f4f 100644 --- a/test_python.py +++ b/test_python.py @@ -1 +1 @@ -print("HELLO KHALID") \ No newline at end of file +print("HELLO KHALID - HELLO FROM PYTHON") From 76ffecd3be5bcced644c27cde47f544399e1b094 Mon Sep 17 00:00:00 2001 From: kparwaz74 <121070385+kparwaz74@users.noreply.github.com> Date: Sun, 27 Aug 2023 22:03:48 +0500 Subject: [PATCH 4/6] Create Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c0b2adc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# A dockerfile must always start by importing the base image. +# We use the keyword 'FROM' to do that. +# In our example, we want import the python image. +# So we write 'python' for the image name and 'latest' for the version. +FROM python:latest + +# In order to launch our python code, we must import it into our image. +# We use the keyword 'COPY' to do that. +# The first parameter 'main.py' is the name of the file on the host. +# The second parameter '/' is the path where to put the file on the image. +# Here we put the file at the image root folder. +COPY test_python.py / + +# We need to define the command to launch when we are going to run the image. +# We use the keyword 'CMD' to do that. +# The following command will execute "python ./main.py". +CMD [ "python", "./test_python.py" ] From 972b1d832fa2b3cd9befb9b3ea12b8ea8ec8c386 Mon Sep 17 00:00:00 2001 From: kparwaz74 <121070385+kparwaz74@users.noreply.github.com> Date: Sun, 27 Aug 2023 22:05:45 +0500 Subject: [PATCH 5/6] Create readme.txt --- readme.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 readme.txt diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..d86bac9 --- /dev/null +++ b/readme.txt @@ -0,0 +1 @@ +OK From 92c48421995591e325c4a5000fa2fbce2076c95e Mon Sep 17 00:00:00 2001 From: kparwaz74 <121070385+kparwaz74@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:49:03 +0500 Subject: [PATCH 6/6] Update test_python.py --- test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_python.py b/test_python.py index e2e1f4f..3da09dd 100644 --- a/test_python.py +++ b/test_python.py @@ -1 +1 @@ -print("HELLO KHALID - HELLO FROM PYTHON") +print("HELLO Ahtisham - HELLO FROM PY")