From 858e504372079afabc631964ada341ef1c23a993 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 11 Apr 2026 23:29:50 +0000 Subject: [PATCH 1/2] Docker Files --- Dockerfile | 28 ++++++++++++++++++++++++++++ docker-compose.yml | 13 +++++++++++++ example.env | 1 + 3 files changed, 42 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml create mode 100644 example.env diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f87c93a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,28 @@ +FROM oven/bun:latest AS builder + +WORKDIR /app + +# Install dependencies +COPY website/package.json website/bun.lock ./ +RUN bun install --frozen-lockfile + +# Build the SvelteKit application +COPY website/ . +RUN bun run build + +# Setup the production environment +FROM oven/bun:latest + +WORKDIR /app + +# Copy production dependencies configuration and install +COPY --from=builder /app/package.json /app/bun.lock ./ +RUN bun install --production --frozen-lockfile + +# Copy the build output and the custom Bun server +COPY --from=builder /app/build ./build +COPY --from=builder /app/server ./server + +EXPOSE 3000 + +CMD ["bun", "run", "server/app.ts"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2d3d2a9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3.8' + +services: + web: + build: + context: . + dockerfile: Dockerfile + ports: + - "3000:3000" + env_file: + - .env + environment: + - NODE_ENV=production diff --git a/example.env b/example.env new file mode 100644 index 0000000..2fc80e3 --- /dev/null +++ b/example.env @@ -0,0 +1 @@ +PORT=3000 From dd010db4a10c56637d58dd949b4a7c77496f9a28 Mon Sep 17 00:00:00 2001 From: sameeranageshwar Date: Sat, 11 Apr 2026 19:30:34 -0400 Subject: [PATCH 2/2] button edit --- website/src/routes/+layout.svelte | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/src/routes/+layout.svelte b/website/src/routes/+layout.svelte index 873393d..5b2d2f7 100644 --- a/website/src/routes/+layout.svelte +++ b/website/src/routes/+layout.svelte @@ -30,8 +30,6 @@ -
-