Dockerfile?
syamimerinin opened this issue · 4 comments
syamimerinin commented
Can i make request here?
Magic wormhole services is so awesome and I want to cry .I am more interested to run my own server whether for the rendezvous server(mailbox server) and relay server. Currently succeed with installing the docker for the relay,but for the mailbox server,i see none.
Can the rendezvous server also have docker file?
nooitaf commented
Here is all you need in your dockerfile..
FROM python:3.8
RUN pip install magic-wormhole-mailbox-server
CMD [ "twist", "wormhole-mailbox","--usage-db=usage.sqlite" ]
Then you build and run it ..
$ docker build -t magicwormhole Dockerfile
$ docker run -p 4000:4000 -d magicwormhole
And use this to connect..
$ wormhole --relay-url=ws://localhost:4000/v1 send FILENAME
syamimerinin commented
Thank you so much.
meejah commented
Ideally if that was expressed as a pull-request we could merge it :)