Browse Source

Correct command for waitress-serve (#564)

docs: Replace waitress serve with waitress-serve
Norbert Stüken 2 năm trước cách đây
mục cha
commit
3e9271756a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/how_to/docker.rst

+ 1 - 1
docs/how_to/docker.rst

@@ -66,7 +66,7 @@ extension). Copy the contents below into the file:
 
     # Finally, run the app on port 8000.
     EXPOSE 8000
-    CMD exec waitress serve --listen "*:8000" "myproject.wsgi:application"
+    CMD exec waitress-serve --listen "*:8000" "myproject.wsgi:application"
 
 
 The "Image as Environment" Approach