aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-24 17:07:48 -0800
committerAdam Soltys <[email protected]>2026-02-24 17:07:48 -0800
commit724feede84f9554c270d0739106bc5e60b234c45 (patch)
treefab0529faf0eadfadaf17622a8f572549d7e125b
parentdb59579a2efa8416f78c855faa7d7e62048447e5 (diff)
downloadcoinos-ui-724feede84f9554c270d0739106bc5e60b234c45.tar.gz
coinos-ui-724feede84f9554c270d0739106bc5e60b234c45.zip
fix dockerfile
-rw-r--r--.env.staging1
-rw-r--r--Dockerfile2
-rw-r--r--src/lib/nip07.ts2
3 files changed, 3 insertions, 2 deletions
diff --git a/.env.staging b/.env.staging
index 54f2be53..ac642b7e 100644
--- a/.env.staging
+++ b/.env.staging
@@ -9,3 +9,4 @@ PUBLIC_COINOS_RELAY=wss://relay.coinos.io
PUBLIC_COINOS_NETWORK=bitcoin
PUBLIC_VAPID_PUBKEY=BFCcO7u4fpgDjWK-Py2qL7rGeueaijf97zxyBKcld25Hya9psuB9pVPeWKpUTdZI0wEWWzTOUK0LVO9uUfbaMhI
PUBLIC_RECAPTCHA_SITE_KEY=6LfCd8YkAAAAANmVJgzN3SQY3n3fv1RhiS5PgMYM
+PUBLIC_DM_RELAYS=wss://relay.coinos.io
diff --git a/Dockerfile b/Dockerfile
index 2d3fbf43..0ef3b69d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,4 +13,4 @@ RUN rm -f .env .env.local .env.production .env.production.local && \
ENV NODE_ENV=production
-CMD ["bun", "run", "preview", "--host", "--port", "3000"]
+CMD ["bun", "./build/index.js"]
diff --git a/src/lib/nip07.ts b/src/lib/nip07.ts
index 093e2ead..ee31ee58 100644
--- a/src/lib/nip07.ts
+++ b/src/lib/nip07.ts
@@ -1,4 +1,4 @@
-import { bytesToHex, hexToBytes } from "@noble/hashes/utils";
+import { bytesToHex, hexToBytes } from "@noble/hashes/utils.js";
import { finalizeEvent } from "nostr-tools/pure";
import * as libnip44 from "$lib/nip44";
import { u } from "$lib/nip44";