use bun runtime

This commit is contained in:
Troy 2025-02-24 17:00:20 +00:00
parent c6c6c2555b
commit d2c5a79a10
Signed by: troy
GPG key ID: DFC06C02ED3B4711
4 changed files with 38 additions and 33 deletions

View file

@ -5,7 +5,7 @@ WORKDIR /usr/src/app
COPY . .
RUN ["bun", "install", "--frozen-lockfile"]
RUN ["bun", "run", "build"]
RUN ["bunx", "--bun", "astro", "build"]
FROM ghcr.io/static-web-server/static-web-server:latest
WORKDIR /