o2r-project / o2r-UI

User interface for creating and examining Executable Research Compendia (ERC)
https://o2r.uni-muenster.de/
Apache License 2.0
3 stars 5 forks source link

Add Production Build #200

Closed Fmazin closed 3 years ago

Fmazin commented 3 years ago

This pull request should resolve #58.

Fmazin commented 3 years ago

As i discussed in #58 the multistage dockerfile for the production build for the ui container seems to work. But when the when the whole docker-compose is started the startpage will throw a bad 502 Bad Gateway.

nuest commented 3 years ago

@NJaku01 Please try out the new compose configurations - the prerendered UI seems to be noticeably quicker.

Note that you have to use a different docker-compose command now to run the development version of the UI - see README.md !