diff options
| author | Adam Soltys <[email protected]> | 2023-12-01 19:52:37 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-01 19:52:37 -0800 |
| commit | f0351d072288d603b1a469014d498aaaa5a0911c (patch) | |
| tree | 3a68b17a62e03668a8fce5844dcb265d5d25aa7e | |
| parent | ed4d4eee2b81d5e516f2fdb001f29f22280b29b6 (diff) | |
| download | coinos-ui-f0351d072288d603b1a469014d498aaaa5a0911c.tar.gz coinos-ui-f0351d072288d603b1a469014d498aaaa5a0911c.zip | |
use bun adapter
| -rw-r--r-- | Dockerfile | 5 | ||||
| -rwxr-xr-x | bun.lockb | bin | 110513 -> 110919 bytes | |||
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | svelte.config.js | 3 |
4 files changed, 6 insertions, 3 deletions
@@ -7,5 +7,6 @@ COPY . . RUN bun i RUN bun run build -# CMD ["node", "build"] -CMD ["bun", "run", "--bun", "preview", "--host", "--port", "3000"] +WORKDIR /home/bun/app/build + +CMD ["bun", "run", "start"] Binary files differdiff --git a/package.json b/package.json index c4ce55bb..491cb75f 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@scure/bip39": "^1.2.1", "leaflet-tooltip-layout": "^0.1.2", "maplibre-gl": "^3.3.1", + "svelte-adapter-bun": "^0.5.1", "uint8array-extras": "^0.5.0", "unique-names-generator": "^4.7.1" } diff --git a/svelte.config.js b/svelte.config.js index 85618815..70484390 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,5 @@ -import adapter from '@sveltejs/adapter-node'; +// import adapter from '@sveltejs/adapter-node'; +import adapter from 'svelte-adapter-bun' import preprocess from 'svelte-preprocess'; const config = { |
