浏览代码

Correct command for waitress-serve (#564)

docs: Replace waitress serve with waitress-serve
Norbert Stüken 2 年之前
父节点
当前提交
3e9271756a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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