Files
drone-better-docker-autotag/Dockerfile
Julien Valverdé 93264ad1e2
All checks were successful
continuous-integration/drone/pr Build is passing
Upgrade to Bun 1.0
2023-09-10 01:16:31 +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"]