Upgrade to Bun 1.0 (#1)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: https://git.jvalver.de/Thilawyn/drone-better-docker-autotag/pulls/1
This commit was merged in pull request #1.
This commit is contained in:
Julien Valverdé
2023-09-10 01:20:48 +02:00
parent f5e6751136
commit 0384dd08cd
5 changed files with 25 additions and 31 deletions

View File

@@ -1,15 +1,14 @@
FROM oven/bun:0.8.1
FROM oven/bun:1.0
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 ./docker-entrypoint.sh /usr/local/bin
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 --production --frozen-lockfile --no-cache && \
RUN bun install --frozen-lockfile --no-cache --production && \
rm -rf ~/.bun
ENTRYPOINT ["bun", "--cwd=/app", "start", "/drone/src"]