瀏覽代碼

Merge branch 'release/v0.3.2-fix1'

Jérôme BUISINE 5 年之前
父節點
當前提交
b546a6c720
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 ; \