Merge pull request #3167 from TracksApp/fix_build

Fix build by changing how Yarn is installed
This commit is contained in:
Jyri-Petteri Paloposki 2025-09-20 14:29:38 +03:00 committed by GitHub
commit 8a8a816645
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,9 +4,8 @@ FROM ruby:${RUBY_VERSION} AS base
WORKDIR /app
RUN touch /etc/app-env
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install -y yarn netcat-openbsd
RUN apt-get update && apt-get install -y npm netcat-openbsd
RUN npm install -g yarn
RUN gem install bundler
RUN mkdir /app/log