|
@@ -14,9 +14,9 @@ RUN yarn install && yarn doc
|
|
# Build front if SERVE_CLIENT=true
|
|
# Build front if SERVE_CLIENT=true
|
|
CMD if [ "$SERVE_CLIENT" == "true" ] ; \
|
|
CMD if [ "$SERVE_CLIENT" == "true" ] ; \
|
|
then \
|
|
then \
|
|
- ([ -d ./experimentConfig.js ] && \
|
|
+ ([ -f ./experimentConfig.js ] && \
|
|
echo "Experiment configuration found" \
|
|
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 && \
|
|
NODE_ENV=test yarn test && \
|
|
yarn run app:build && \
|
|
yarn run app:build && \
|
|
yarn run server:start ; \
|
|
yarn run server:start ; \
|