CueObserve icon indicating copy to clipboard operation
CueObserve copied to clipboard

Docker Image Build fails on Dev compose

Open shreyas-dev opened this issue 3 years ago • 4 comments

Describe the bug Failed to create a docker image using docker-compose -f docker-compose-dev.yml up -d . Build fails with error Service 'cueo-backend' failed to build : Build failed

To Reproduce Steps to reproduce the behavior:

  1. Git clone this repo
  2. Run docker-compose -f docker-compose-dev.yml up -d

Expected behavior CueO components image to be built successfully and CueObserve to start running on localhost:3000

Additional context Will add the entire log in the file or snippet below.

shreyas-dev avatar Nov 11 '21 06:11 shreyas-dev

Run Command: docker-compose -f docker-compose-dev.yml up -d | tee docker-compose-dev-error.log

docker-compose-dev-error.log

shreyas-dev avatar Nov 11 '21 06:11 shreyas-dev

Can't reproduce, try building cueo-backend only:

  • Go to api directory
  • Run command docker build -t cueo-backend .

vincue avatar Nov 12 '21 11:11 vincue

Steps followed

git checkout latest_release
cd api
docker build -t cueo-backend .

Same error is produced.

System: Mac OS x64 Intel Core i5

shreyas-dev avatar Nov 19 '21 14:11 shreyas-dev

Looks like the problem lies in building facebook's prophet once installed via pip (For only Mac users). Prophet internally uses pystan and the problem reciprocates from pystan.

https://github.com/facebook/prophet/issues?q=is%3Aissue+is%3Aopen+mac

shreyas-dev avatar Nov 22 '21 10:11 shreyas-dev