增加数据库 migrate
This commit is contained in:
1 parent
be675c17a0
commit
7ff8ce9504
1 file changed
+1
@@ -7,4 +7,5 @@ WORKDIR /var/oj/
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE 8080
|
||||
RUN mkdir LOG
|
||||
RUN python manage.py migrate
|
||||
CMD python manage.py runserver 0.0.0.0:8080
|
||||
Reference in new issue
Block a user