Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i want to create a core api and restreamer ui bundle. #830

Open
alfaputra27 opened this issue Oct 5, 2024 · 3 comments
Open

i want to create a core api and restreamer ui bundle. #830

alfaputra27 opened this issue Oct 5, 2024 · 3 comments

Comments

@alfaputra27
Copy link

hello sir, i need help.

i want to create a core api and restreamer ui bundle.
how can i use the modified ui to be like a restreamer bundle that can be run at once?

@ioppermann
Copy link
Member

In your modified clone of the UI repo, build the Docker image, e.g.: docker build -t customui:latest .

Then you clone the github.com/datarhei/restreamer repo and build the bundle with you modified UI: docker build --build-arg RESTREAMER_UI_IMAGE=customui:latest -t mybundle:latest .

The you can run your own bundle with docker run ... mybundle:latest

@alfaputra27
Copy link
Author

I tried to add and modify the core application. But why is it that every time I build the core image the docker code that I have edited is lost?

@alfaputra27
Copy link
Author

i have tried this

git clone [email protected]:datarhei/core.git
cd core

docker build -t myappcore .
docker build
-f Dockerfile.bundle
--build-arg CORE_IMAGE=myappcore
--build-arg FFMPEG_IMAGE=datarhei/base:alpine-ffmpeg-latest
-t core-bundle:dev .

The result is that the core code that I have edited is not there. My additional API is not there.
What can I do sir,
Please help inform immediately

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants