nadrad / h-m-m

Hackers Mind Map
GNU General Public License v3.0
1.89k stars 53 forks source link

Dockerize app #15

Closed vc0sta closed 2 years ago

vc0sta commented 2 years ago

Hey, I've just created a Dockerfile and added instructions on how to execute it within a container.

As I'm not familiar with PHP tooling, I'm not sure if all those instructions on Dockerfile are really needed, please review it.

Also, I don't know if you want this feature added or not (feel free to reject this PR), but I like to run such tools in containers, so it would be great to have this option.

Very cool app btw

nadrad commented 2 years ago

Thanks, it seems interesting.

Have you seen #11 ? Does your setup solve the clipboard issue in Docker?

vc0sta commented 2 years ago

application is running fine in RaspberryPi with no graphical environment installed on it.

Have not tested SSHing into it from my machine and pasting content yet.

nadrad commented 2 years ago

Can you check to see whether you can cut and paste nodes inside h-m-m? That's a normal function that depends on the clipboard.

jonas-w commented 2 years ago

It seems to be working, except the clipboard support.

This would work, it will not sync with the hosts clipboard but would make it usable to copy and paste inside of the docker container: https://github.com/asweigart/pyperclip/issues/161#issuecomment-1112942799