This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [Bun](https://bun.com) ([source](https://github.com/oven-sh/bun)) | `1.3.5` → `1.3.6` |  |  | | patch | | [oven/bun](https://github.com/oven-sh/bun) | `1.3.5` → `1.3.6` |  |  | final | patch | --- ### Release Notes <details> <summary>oven-sh/bun (Bun)</summary> ### [`v1.3.6`](https://github.com/oven-sh/bun/releases/tag/bun-v1.3.6): Bun v1.3.6 [Compare Source](https://github.com/oven-sh/bun/compare/bun-v1.3.5...bun-v1.3.6) To install Bun v1.3.6 ```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.6: ```bash bun upgrade ``` ##### [Read Bun v1.3.6's release notes on Bun's blog](https://bun.com/blog/bun-v1.3.6) ##### Thanks to 23 contributors! - [@​alii](https://github.com/alii) - [@​billywhizz](https://github.com/billywhizz) - [@​bmwalters](https://github.com/bmwalters) - [@​cirospaciari](https://github.com/cirospaciari) - [@​d4mr](https://github.com/d4mr) - [@​darwin808](https://github.com/darwin808) - [@​dylan-conway](https://github.com/dylan-conway) - [@​emwadde](https://github.com/emwadde) - [@​franklinfollis](https://github.com/franklinfollis) - [@​jackkleeman](https://github.com/jackkleeman) - [@​jarred-sumner](https://github.com/jarred-sumner) - [@​kjanat](https://github.com/kjanat) - [@​makuko](https://github.com/makuko) - [@​mattermoran](https://github.com/mattermoran) - [@​nektro](https://github.com/nektro) - [@​nfreya](https://github.com/nfreya) - [@​nicocevallos](https://github.com/nicocevallos) - [@​rekram1-node](https://github.com/rekram1-node) - [@​remorses](https://github.com/remorses) - [@​robobun](https://github.com/robobun) - [@​sosukesuzuki](https://github.com/sosukesuzuki) - [@​sqdshguy](https://github.com/sqdshguy) - [@​veggiesaurus](https://github.com/veggiesaurus) </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: #80 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
618 B
Docker
23 lines
618 B
Docker
FROM oven/bun:1.3.6@sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 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"] |