05605bdf28
* vastly simplify the api * add missing await * add eose to emitter * add eose to conn * add eose to the client * eose test * improve test suite, add dm tests * demonstrate that nostr-rs-relay auth options don't work * readme files * cleanup * fetch relay info * test readyState * export fetchRelayInfo * cleanup * better async/await linting * use strictEqual in tests * additional eslint rules * allow arbitrary extensions * saner error handling * update README * implement nip-02 --------- Co-authored-by: Kieran <kieran@harkin.me>
13 lines
278 B
Docker
13 lines
278 B
Docker
FROM scsibug/nostr-rs-relay
|
|
|
|
USER root
|
|
RUN apt-get update && apt-get install -y curl nodejs npm
|
|
RUN npm i -g yarn
|
|
|
|
EXPOSE 8000
|
|
|
|
COPY . .
|
|
USER $APP_USER
|
|
RUN yarn
|
|
CMD yarn app /bin/bash -c "rm -rf /usr/src/app/db/* && ./nostr-rs-relay --db /usr/src/app/db --config ./config.toml"
|