Replies: 1 comment 6 replies
-
So you want to run the electron in docker ? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I asked that question on stack overflow, But then I thought it be more relevant for here
https://stackoverflow.com/questions/71305880/add-express-server-and-dockerize-app-built-with-vue-electron-builder
I built an electron vue app, When started the project I used Vue CLI Plugin Electron Builder
I`ve been asked to add an express REST server for all the main business logic functionality.
The express app should be stand-alone app running on docker container.
What I did until now is add the basic express server just for POC, I changed my
backgraound.ts
like this:Before:
After:
My express index.ts
So I just changed the part of
win.loadURL()
in thecreateWindow()
boilerplate of the cli-pluginI wanted to know how to add a dockerfile suitable for my scenario
I`m not sure how to even start my dockerfile since I'm not exactly sure what the script from package.json
vue-cli-service electron:build
doesBeta Was this translation helpful? Give feedback.
All reactions