FROM ruby:3.1.2-alpine RUN apk upgrade --update && \ apk add --no-cache \ bash \ ca-certificates \ curl \ less \ libstdc++ \ libressl-dev \ g++ \ mpc \ tzdata \ make \ shared-mime-info \ zlib-dev && \ rm -rf /var/cache/apk/* RUN mkdir /srv/stevetunes WORKDIR /srv/stevetunes COPY Gemfile Gemfile.lock ./ RUN bundle install COPY main.rb mpc_shim.rb util.rb ./ ENTRYPOINT ["ruby", "main.rb"]