Closed monacofj closed 4 years ago
Update
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
This is a known issue with node Docker image. I'ts been reported as non harmful (this dependence applies to Mac but not to Linux; recommendation is to ignore it) and there seems to be no fix for the time being.
I think PR #36 will close this.
Branch
feature/dockerize
has an initial attempt to dockerize the application. It uses two images: one for flask and another for angular sources. Flask image and container are operational. Angular image produces some warnings during build (something with angular dependencies). Also, the service runs flawlessly from withing the container; from outside, however, binding seems not work properly (seems a known problem).From source dir:
Service responds as expected. However
Service resets the connection (it's different from refusing connection).
One may try
and see that it works inside de container.
Would anyone review Dockerfile-flask and Dockerfile-angular, as well as Makefile? Advice needed.
Perhaps some hints? https://stackoverflow.com/questions/53977593/unable-to-access-angular-app-in-docker-container https://github.com/angular/angular-cli/issues/4471