This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Bun](https://bun.com) ([source](https://github.com/oven-sh/bun)) | | patch | `1.3.1` -> `1.3.2` | | [oven/bun](https://github.com/oven-sh/bun) | final | patch | `1.3.1` -> `1.3.2` | --- ### Release Notes <details> <summary>oven-sh/bun (Bun)</summary> ### [`v1.3.2`](https://github.com/oven-sh/bun/releases/tag/bun-v1.3.2): Bun v1.3.2 [Compare Source](https://github.com/oven-sh/bun/compare/bun-v1.3.1...bun-v1.3.2) To install Bun v1.3.2 ```bash curl -fsSL https://bun.sh/install | bash # or you can use npm # npm install -g bun ``` Windows: ```bash powershell -c "irm bun.sh/install.ps1|iex" ``` To upgrade to Bun v1.3.2: ```bash bun upgrade ``` ##### [Read Bun v1.3.2's release notes on Bun's blog](https://bun.com/blog/bun-v1.3.2) ##### Thanks to 18 contributors! - [@​alii](https://github.com/alii) - [@​avarayr](https://github.com/avarayr) - [@​braden-w](https://github.com/braden-w) - [@​cirospaciari](https://github.com/cirospaciari) - [@​csvlad](https://github.com/csvlad) - [@​dylan-conway](https://github.com/dylan-conway) - [@​fraidev](https://github.com/fraidev) - [@​jarred-sumner](https://github.com/jarred-sumner) - [@​lillious](https://github.com/lillious) - [@​lydiahallie](https://github.com/lydiahallie) - [@​markovejnovic](https://github.com/markovejnovic) - [@​nektro](https://github.com/nektro) - [@​nkxxll](https://github.com/nkxxll) - [@​pfgithub](https://github.com/pfgithub) - [@​riskymh](https://github.com/riskymh) - [@​robobun](https://github.com/robobun) - [@​sosukesuzuki](https://github.com/sosukesuzuki) - [@​taylordotfish](https://github.com/taylordotfish) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xLjMiLCJ1cGRhdGVkSW5WZXIiOiI0Mi4xLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Reviewed-on: #55 Reviewed-by: t.behrendt <t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
23 lines
546 B
Docker
23 lines
546 B
Docker
FROM oven/bun:1.3.2 AS base
|
|
|
|
WORKDIR /app
|
|
|
|
FROM base AS install
|
|
RUN mkdir -p /temp/dev
|
|
COPY package.json bun.lockb /temp/dev/
|
|
RUN cd /temp/dev && bun install --frozen-lockfile
|
|
|
|
RUN mkdir -p /temp/prod
|
|
COPY package.json bun.lockb /temp/prod/
|
|
RUN cd /temp/prod && bun install --frozen-lockfile --production
|
|
|
|
FROM base AS build
|
|
COPY --from=install /temp/dev/node_modules node_modules
|
|
COPY . .
|
|
RUN bun run build
|
|
|
|
FROM base AS release
|
|
COPY --from=install /temp/prod/node_modules node_modules
|
|
COPY --from=build /app/dist .
|
|
|
|
CMD [ "bun", "/app/main.js"] |