diff options
| -rw-r--r-- | Dockerfile | 10 | ||||
| -rw-r--r-- | package.json | 3 | ||||
| -rw-r--r-- | svelte.config.js | 4 |
3 files changed, 8 insertions, 9 deletions
@@ -1,16 +1,16 @@ -FROM node:21-alpine +FROM node:21 ARG NODE_ENV=production ENV NODE_ENV $NODE_ENV -RUN npm i -g pnpm +RUN npm i -g bun WORKDIR /app ADD package.json . -RUN --mount=type=cache,target=/root/.local/share/pnpm/store NODE_ENV=development pnpm i +RUN NODE_ENV=development bun i COPY . . -RUN pnpm build +RUN bun run build # CMD ["node", "build"] -CMD ["pnpm", "preview", "--host", "--port", "3000"] +CMD ["bun", "run", "preview", "--host", "--port", "3000"] diff --git a/package.json b/package.json index 6103510e..96741f0a 100644 --- a/package.json +++ b/package.json @@ -55,10 +55,9 @@ "dependencies": { "@faker-js/faker": "^8.2.0", "@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" } -}
\ No newline at end of file +} diff --git a/svelte.config.js b/svelte.config.js index 88ec789c..bc89e810 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,5 +1,5 @@ -import adapter from '@sveltejs/adapter-node'; -// import adapter from "svelte-adapter-bun"; +// import adapter from '@sveltejs/adapter-node'; +import adapter from "svelte-adapter-bun"; import preprocess from "svelte-preprocess"; const config = { |
