FROM oven/bun:1 AS install RUN mkdir -p /temp/prod COPY package.json bun.lockb /temp/prod/ RUN cd /temp/prod && bun install --frozen-lockfile COPY . /temp/prod/ RUN cd /temp/prod && bun run build FROM nginx AS release COPY --from=install /temp/prod/dist /usr/share/nginx/html