Upgrade to Bun 1.0
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Julien Valverdé
2023-09-10 01:16:31 +02:00
parent f5e6751136
commit 93264ad1e2
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"]