Parcourir la source

Merge branch 'release/v0.3.2-fix1'

Jérôme BUISINE il y a 4 ans
Parent
commit
b546a6c720
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 ; \