Skip to content

Commit d043d01

Browse files
committed
Dockerfile added
1 parent cb94ac8 commit d043d01

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DJANGO PROJECTS/Chat/Dockerfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM python:3.10
2+
COPY requirements.txt /requirements.txt
3+
RUN pip install -r /requirements.txt
4+
WORKDIR /app
5+
COPY . /app
6+
RUN python manage.py migrate
7+
EXPOSE 8000
8+
CMD ["python","manage.py","runserver"]

0 commit comments

Comments
 (0)