mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
* including nostr types * including tests for nostr type guard * fix tests for nostr type guard * fix linter and add eslint and prettier to devcontainer * including null in nostr type guard signature * fix type, ops * including ncryptsec in nostr type guard * fix linter for ncryptsec * including ncryptsec return type for nip49 * fixing names of nostr types and types guards * fixing names of nostr types and types guards in unit tests descriptions * fix prettier * including type guard for nip5
20 lines
479 B
Docker
Executable File
20 lines
479 B
Docker
Executable File
FROM node:20
|
|
|
|
RUN npm install typescript eslint prettier -g
|
|
|
|
# Install bun
|
|
RUN curl -fsSL https://bun.sh/install | bash
|
|
|
|
# Install just
|
|
WORKDIR /usr/bin
|
|
RUN wget https://github.com/casey/just/releases/download/1.26.0/just-1.26.0-x86_64-unknown-linux-musl.tar.gz
|
|
RUN tar -xzf just-1.26.0-x86_64-unknown-linux-musl.tar.gz
|
|
RUN chmod +x ./just
|
|
RUN rm just-1.26.0-x86_64-unknown-linux-musl.tar.gz
|
|
|
|
WORKDIR /nostr-tools
|
|
ENV LANG C.UTF-8
|
|
|
|
# The run the start script
|
|
CMD [ "/bin/bash" ]
|