From d89428bcb7d6cab7f6cb8c5509ef035666b90547 Mon Sep 17 00:00:00 2001 From: Annika Merris Date: Sun, 4 Feb 2024 20:48:33 -0500 Subject: [PATCH] Trying Without `bunx --bun` Using `bun` Instead --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e585fcb..4933b38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # use the official Bun image # see all versions at https://hub.docker.com/r/oven/bun/tags -FROM oven/bun:1-alpine as base +FROM oven/bun:1.0.26-alpine as base WORKDIR /app # install dependencies into temp directory @@ -23,7 +23,7 @@ COPY . . # I don't have any tests, I am bad. ENV NODE_ENV=production RUN bun --version -RUN bunx --bun vite build +RUN bun vite build # Copy the distribution folder into the final image. FROM nginx:stable-alpine as release