deploy: build applications on Node base

This commit is contained in:
-Puter
2026-07-29 07:09:07 +05:30
parent 0e56a462cd
commit 830bcc4756
2 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,8 @@
FROM oven/bun:1.3.14 AS build
FROM oven/bun:1.3.14 AS bun
FROM node:24-bookworm-slim AS build
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
WORKDIR /app
@@ -6,12 +10,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
g++ \
make \
nodejs \
python3 \
&& rm -rf /var/lib/apt/lists/*
ENV PATH=/usr/bin:$PATH
COPY . .
ARG VITE_AUTH_URL
ARG VITE_CONVEX_URL