fix: use env instaed of arg

This commit is contained in:
2025-01-22 04:10:57 +01:00
parent 70cd65d30b
commit ed037bea17

View File

@@ -1,13 +1,15 @@
FROM oven/bun AS builder FROM oven/bun AS builder
RUN bun
WORKDIR /app WORKDIR /app
COPY package.json bun.lockb ./ COPY package.json bun.lockb ./
RUN bun install RUN bun install
COPY . . COPY . .
ARG DB_URL ENV DB_URL=''
ARG AUTH_TOKEN ENV AUTH_TOKEN=''
RUN bun run build RUN bun run build