瀏覽代碼

Fix Dockerfile problem with CMD

yhirose 5 月之前
父節點
當前提交
f4cc542d4b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -10,4 +10,4 @@ COPY docker/html/index.html /html/index.html
 EXPOSE 80
 
 ENTRYPOINT ["/server"]
-CMD ["0.0.0.0", "80", "/", "/html"]
+CMD ["--host", "0.0.0.0", "--port", "80", "--mount", "/:./html"]