Explorar el Código

Merge branch 'release/v0.3.2-fix1'

Jérôme BUISINE hace 5 años
padre
commit
b546a6c720
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      back.Dockerfile

+ 2 - 2
back.Dockerfile

@@ -14,9 +14,9 @@ RUN yarn install && yarn doc
 # Build front if SERVE_CLIENT=true
 CMD if [ "$SERVE_CLIENT" == "true" ] ; \
   then \
-    ([ -d ./experimentConfig.js ] && \
+    ([ -f ./experimentConfig.js ] && \
       echo "Experiment configuration found" \
-      || echo "Experiment configuration not found, copying default" && cp -r experimentConfig.default.js experimentConfig.js) && \
+      || echo "Experiment configuration not found, copying default" && cp experimentConfig.default.js experimentConfig.js) && \
     NODE_ENV=test yarn test && \
     yarn run app:build && \
     yarn run server:start ; \