Migrate everything from Yarn to Bun
No node.js or npm necessary anymore
This commit is contained in:
+5
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user