Files
drone-better-docker-autotag/Dockerfile
Julien Valverdé ed82f61dbb
All checks were successful
continuous-integration/drone/push Build is passing
Removed git fetch + rootless Docker image
2023-09-01 00:28:17 +02:00

16 lines
361 B
Docker

FROM oven/bun:0.8.1
RUN apt update -y && \
apt full-upgrade -y && \
apt install -y --reinstall ca-certificates && \
apt install -y --no-install-recommends git && \
apt autoremove -y --purge && \
apt clean
COPY ./ ./
RUN bun install --production --frozen-lockfile --no-cache && \
rm -rf ~/.bun
USER bun:bun
CMD ["start", "/drone/src"]