Migrate everything from Yarn to Bun

No node.js or npm necessary anymore
This commit is contained in:
2026-08-09 18:13:26 -06:00
parent 8a6e733316
commit 39d9f9b312
12 changed files with 303 additions and 1066 deletions
+5 -6
View File
@@ -3,20 +3,19 @@ FROM ruby:3.3.4
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update -qq && apt-get install -y --no-install-recommends curl \
RUN apt-get update -qq && apt-get install -y --no-install-recommends curl unzip \
ldap-utils tini libvips
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get update && apt-get install -y nodejs
RUN curl -fsSL https://bun.sh/install | bash -s -- bun-v1.3.14
ENV PATH="/root/.bun/bin:$PATH"
WORKDIR /akkounts
COPY ["Gemfile", "Gemfile.lock", "package.json", "./"]
COPY ["Gemfile", "Gemfile.lock", "package.json", "bun.lock", "./"]
RUN bundle install
RUN gem install foreman
RUN npm install -g yarn
RUN yarn install
RUN bun install
ENTRYPOINT ["/usr/bin/tini", "--"]
EXPOSE 3000