feat!: sveltekit 3 with the official bun adapter, config lives in vite.config; biome unpinned at 2.5.15, anchor content check off for svelte; bun image pinned to the 1 tag
This commit is contained in:
1 parent
5cee5f99e9
commit
6c9d5063b9
11 files changed
+89
-85
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{% if frontend_adapter == 'bun' -%}
|
||||
FROM oven/bun:alpine AS deps
|
||||
FROM oven/bun:1-alpine AS deps
|
||||
|
||||
ENV TERM=xterm-256color
|
||||
ENV COLORTERM=truecolor
|
||||
@@ -22,7 +22,7 @@ RUN bun --bun svelte-kit sync
|
||||
RUN bun --bun run build
|
||||
|
||||
|
||||
FROM oven/bun:alpine AS runtime
|
||||
FROM oven/bun:1-alpine AS runtime
|
||||
|
||||
ENV NODE_ENV=production
|
||||
# The cache mount only holds files; without the variable bun caches into
|
||||
@@ -42,7 +42,7 @@ EXPOSE 3000
|
||||
ENTRYPOINT ["bun"]
|
||||
CMD ["build/index.js"]
|
||||
{%- else -%}
|
||||
FROM oven/bun:alpine AS deps
|
||||
FROM oven/bun:1-alpine AS deps
|
||||
|
||||
ENV TERM=xterm-256color
|
||||
ENV COLORTERM=truecolor
|
||||
@@ -63,7 +63,7 @@ RUN bun --bun svelte-kit sync
|
||||
RUN bun run build
|
||||
|
||||
|
||||
FROM oven/bun:alpine AS runtime
|
||||
FROM oven/bun:1-alpine AS runtime
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
Reference in new issue
Block a user