summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..316456f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM python:latest
+
+RUN apt update && \
+ apt upgrade -y && \
+ rm -rf /var/lib/apt/lists/*
+
+WORKDIR /app
+COPY . .
+
+RUN python -m pip install --upgrade pip
+
+RUN pip install --no-cache-dir -r requirements.txt
+
+CMD ["python", "manage.py", "runserver_plus", "--nopin", "0.0.0.0:8000"]