FROM oven/bun:1.0 RUN apt-get update && \ apt-get install -y --reinstall --no-install-recommends ca-certificates && \ apt-get install -y --no-install-recommends git && \ apt-get autoremove -y --purge && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* WORKDIR /app COPY ./ ./ RUN bun install --frozen-lockfile --no-cache --production && \ rm -rf ~/.bun ENTRYPOINT ["bun", "--cwd=/app", "start", "/drone/src"]