Skip to content

Commit 4cb801a

Browse files
committed
🔧 Update Dockerfile to use Bun
1 parent baca6eb commit 4cb801a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend
2-
FROM node:24 AS build-stage
1+
# Stage 0, "build-stage", based on Bun, to build and compile the frontend
2+
FROM oven/bun:1 AS build-stage
33

44
WORKDIR /app
55

6-
COPY package*.json /app/
6+
COPY package.json bun.lock* /app/
77

8-
RUN npm install
8+
RUN bun install
99

1010
COPY ./ /app/
1111

12-
ARG VITE_API_URL=${VITE_API_URL}
12+
ARG VITE_API_URL
1313

14-
RUN npm run build
14+
RUN bun run build
1515

1616

1717
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx

0 commit comments

Comments
 (0)