We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 3c8161eCopy full SHA for 3c8161e
docker/Dockerfile
@@ -0,0 +1,20 @@
1
+# Pulling base image
2
+FROM python:3.9
3
+
4
+# working directory to run stuff
5
+WORKDIR /devops
6
7
+RUN apt-get update -y && apt-get install git -y
8
9
+# Get the project source code
10
+RUN git clone https://github.com/LondheShubham153/django-notes-app.git
11
12
13
+# install required packages
14
+RUN pip install -r django-notes-app/requirements.txt
15
16
+# exposing the port where app runs
17
+EXPOSE 8080
18
19
+# Run the app
20
+CMD ["python","django-notes-app/manage.py","runserver","0.0.0.0:8080"]
0 commit comments