We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6014c33 commit 9f3a074Copy full SHA for 9f3a074
Dockerfile
@@ -0,0 +1,9 @@
1
+FROM python:3
2
+
3
+ENV PYTHONUNBUFFERED 1
4
+RUN mkdir /code
5
+WORKDIR /code
6
+COPY . /code/
7
+RUN pip install -r requirements.txt
8
+RUN python manage.py migrate
9
+RUN python manage.py collectstatic
docker-compose.yml
@@ -0,0 +1,10 @@
+version: '3'
+services:
+ web:
+ build: .
+ command: python manage.py runserver 0.0.0.0:8000
+ volumes:
+ - .:/code
+ ports:
10
+ - 127.0.0.1:9995:8000
0 commit comments