Docker image custom build support

We need to support frontend-plugins custom builds using our Docker image.

Therefore we need to put the current build’s source code as a part of the docker image (not the whole git repo, just the current copy without the .git folder!).

When someone wants to build his own frontend version using some frontend-plugins, they would use this source code for that.

I assume just a source code of frontend. Nothing else. Is that right ?

Yes, frontend source code should be sufficient.

The front end application source code is:

  • In the linux docker image at /home/origam HTML5-SOURCE
  • In the windows docker image at C:\home\origam\HTML5-SOURCE

There is a guide showing you how to build a Docker image from backend and frontend source code here. This is useful if you want to make changes to the backend as well as the frontend and completely customize the image.

If you just want to modify the frontend application like decribed in the original post you can follow the guide with a few modifications:

  • Instead of cloning the repository pull an Origam Docker image
  • Do not build the backend, just use what is in the image already (don’t touch it)
  • Build the frontend application with your modifications. Use the source code from the image.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.