Repository navigation
Code compilation - Docker version #2
|
Hello, first of all, thank you for your work! I want to use your project in docker (for use with another domotics solution, via MQTT) but I don't understand if I need to compile the project on linux before running it in docker or if I can compile it on windows, put the compiled project in my docker VM, and then enable the docker image in my VM. Can you help me ? I hope to be specific in my question. Thank you in advance |
Replies: 2 comments
|
I'm not familiar with Docker or file handling, so I guess I confused you. There are two steps: building the application and building the Docker image. The provided Dockerfile seems like it can be used almost as-is. Here are the steps to build & execute on WSL2. Here are the instructions for pulling the pre-built image from the GitHub Container Registry & execute . |
|
I have updated the installation instructions (added as an advanced installation method). |
I have updated the installation instructions (added as an advanced installation method).
https://github.com/hsakoh/switchbot-mqtt/wiki/HowToInstall#advanced-add-on-installation-method