Files
drone-better-docker-autotag/Dockerfile
Julien Valverdé 9b92f00592
All checks were successful
continuous-integration/drone/push Build is passing
Docker entrypoint fix
2023-09-01 01:29:56 +02:00

16 lines
376 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 ./ ./
COPY ./docker-entrypoint.sh /usr/local/bin
RUN bun install --production --frozen-lockfile --no-cache && \
rm -rf ~/.bun
USER bun:bun