smaller docker image #6

Merged
stan merged 1 commits from dev into staging 2026-08-30 22:25:18 +00:00
2 changed files with 4 additions and 14 deletions
Showing only changes of commit fe225f8a3d - Show all commits

View File

@@ -1,23 +1,13 @@
FROM oven/bun AS builder FROM oven/bun AS builder
WORKDIR /app WORKDIR /app
COPY package.json bun.lock ./ COPY package.json bun.lock ./
RUN bun install RUN bun install
COPY . . COPY . .
RUN bun run build RUN bun run build
FROM oven/bun FROM oven/bun
WORKDIR /app WORKDIR /app
COPY --from=builder /app ./ COPY --from=builder /app/build ./build
EXPOSE 3000 EXPOSE 3000
ENV NODE_ENV=production ENV NODE_ENV=production
CMD ["bun", "build/index.js"]
CMD ["bun", "build/index.js"]

View File

@@ -2,7 +2,7 @@
import { resolve } from '$app/paths'; import { resolve } from '$app/paths';
</script> </script>
<div class="text-center py-2 font-bold text-xl"> <div class="text-center py-2 font-bold text-xl underline">
<a href={resolve('/blog')}>Blog</a> <a href={resolve('/blog')}>Blog</a>
</div> </div>
@@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<div class="pt-32 px-8"> <div class="pt-4 px-8">
<h1 class="font-black text-center text-4xl py-6">Stan Runge</h1> <h1 class="font-black text-center text-4xl py-6">Stan Runge</h1>
<enhanced:img <enhanced:img
class="rounded-2xl" class="rounded-2xl"