瀏覽代碼

doc dockerfile

zeke-chin 2 年之前
父節點
當前提交
33e0f36673
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      Dockerfile

+ 4 - 6
Dockerfile

@@ -94,12 +94,6 @@ stdout_logfile_maxbytes=50MB\n\
 environment=PYTHONUNBUFFERED=1\n\
 " > /etc/supervisor/conf.d/be.conf
 
-ARG VERSION
-ENV USE_CUDA $VERSION
-Add . /workspace
-EXPOSE 8080
-
-
 FROM builder3 as builder4
 
 WORKDIR /workspace
@@ -118,3 +112,7 @@ stdout_logfile_maxbytes=50MB\n\
 environment=PYTHONUNBUFFERED=1\n\
 " > /etc/supervisor/conf.d/be_d.conf
 
+ARG VERSION
+ENV USE_CUDA $VERSION
+Add . /workspace
+EXPOSE 8080