Dockerizing
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src/server
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
EXPOSE 8000
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
python manage.py migrate
|
||||
python manage.py createsuperuser --email admin@example.com --username admin
|
||||
Reference in New Issue
Block a user