Closed jeff1evesque closed 6 years ago
Currently only the browserify
container is unhealthy:
The following logs were obtained:
6/23/2018 6:37:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:39 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:40 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:22 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:24 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:22 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:40:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
Manually running our browserify
container via ssh in the AWS environment runs without error:
root@ip-xxx-xxx-xxx-xxx:~/machine-learning/dockerfile# docker run --hostname browserify --name browserify -it jeff1evesque/ml-browserify:0.8
[...TRACE-OMITTED...]
./__tests__/layout/analysis.test.jsx
./__tests__/content/register.test.jsx
./__tests__/content/login.test.jsx
./content.jsx
done
> reactjs@1.0.0 build:browserify /var/machine-learning/src/jsx
> browserify -t [ babelify --presets env,stage-2,react ] content.jsx > ../../interface/static/js/content.js
> reactjs@1.0.0 watch:jsx /var/machine-learning/src/jsx
> onchange 'src/jsx/**/*.jsx' 'src/jsx/**/*.js' -- npm run build:browserify
^Croot@ip-172-31-47-17:~/machine-learning/dockerfile#
However, the install_rancher
implementation, which calls upon the corresponding xxx-compose.[rancher].yml
, fails with multiple No such file or directory
on AWS:
One likely possibility, is a difference with the rancher implementation. Specifically, we'll need to take a closer look at our rancher-compose.yml
, by checking the corresponding volumes
mount.
Our browserify
container now properly compiles:
Additionally, the corresponding compile asset is available on the AWS host:
root@ip-xxx-xxx-xxx-xxx:~/machine-learning# ls -l /root/machine-learning/interface/static/js
total 3116
-rw-r--r-- 1 root root 3190082 Jun 27 02:20 content.js
Our application is now accessible on AWS:
However, some of our stylesheets have been incorrectly adjusted:
Resolves #3271.