Prechádzať zdrojové kódy

Fix Dockerfile problem with CMD

yhirose 5 mesiacov pred
rodič
commit
f4cc542d4b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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"]