Files
drone-better-docker-autotag/Dockerfile
Julien Valverdé 0384dd08cd
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Upgrade to Bun 1.0 (#1)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: https://git.jvalver.de/Thilawyn/drone-better-docker-autotag/pulls/1
2023-09-10 01:20:48 +02:00

15 lines
435 B
Docker

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"]