diff --git a/Dockerfile b/Dockerfile index fc83ad8..50d8d8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ RUN apk --no-cache add ca-certificates COPY --from=build /src/ww /bin COPY --from=build /src/web /web WORKDIR / -ENTRYPOINT ["/bin/ww", "server"] +ENTRYPOINT ["/bin/ww", "server", "-https="] diff --git a/README b/README index 96dfe1e..ab51827 100644 --- a/README +++ b/README @@ -37,6 +37,15 @@ To package the browser extension for Firefox or Chrome: $ make webwormhole-ext.zip +To run the server using docker: + $ docker build -t webwormhole . + $ docker run -p 8000:80 webwormhole + +To use a custom signalling server. + $ ww -signal http://localhost:8000 send test.txt + east-pep-aloe + $ ww -signal http://localhost:8000 receive east-pep-aloe + WebWormhole is inspired by and uses a model very similar to that of Magic Wormhole. diff --git a/web/index.html b/web/index.html index d32f3f0..2444de9 100644 --- a/web/index.html +++ b/web/index.html @@ -25,13 +25,6 @@ -