tosanoob commited on
Commit
59c33fa
1 Parent(s): 116ccd1

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +15 -0
dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ # set work directory
4
+ WORKDIR /code
5
+
6
+ # install dependencies
7
+ COPY requirements.txt /code/
8
+ RUN pip install -r requirements.txt
9
+
10
+ # copy project
11
+ COPY . /code/
12
+
13
+ EXPOSE 8000
14
+
15
+ CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]