From 203b91c9c89e0dca065110050d66bd447034e33c Mon Sep 17 00:00:00 2001 From: basit2023 <127020924+basit2023@users.noreply.github.com> Date: Sat, 8 Apr 2023 02:09:53 +0500 Subject: [PATCH] Create a Docker file For the above project i just add a Docker file. --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0cba438 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu +RUN apt-get update +# For Sql-client +RUN apt-get install mysql-client -y + +# For python and related frameworks + +RUN apt-get install python3 -y +RUN apt-get install python3-flask -y +RUN apt-get install python3-pymysql -y +RUN apt-get install python3-boto3 -y + +COPY . . +EXPOSE 80 +# for running application +CMD ["python3","EmpApp.py"] +~