ar08 commited on
Commit
f7a7547
·
verified ·
1 Parent(s): 342eeb5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -65,4 +65,9 @@ GraphQL, Django, and ReactJS."
65
  org.opencontainers.image.authors="Saleor Commerce (https://saleor.io)" \
66
  org.opencontainers.image.licenses="BSD 3"
67
 
 
 
 
 
 
68
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "4", "--worker-class", "saleor.asgi.gunicorn_worker.UvicornWorker", "saleor.asgi:application"]
 
65
  org.opencontainers.image.authors="Saleor Commerce (https://saleor.io)" \
66
  org.opencontainers.image.licenses="BSD 3"
67
 
68
+
69
+
70
+ RUN ["python", "manage.py", "migrate"]
71
+ RUN ["python", "manage.py", "makemigrations"]
72
+
73
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "4", "--worker-class", "saleor.asgi.gunicorn_worker.UvicornWorker", "saleor.asgi:application"]