Browse Source

doc dockerfile

zeke-chin 2 years ago
parent
commit
33e0f36673
1 changed files with 4 additions and 6 deletions
  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