25 lines · 525 B · Dockerfile
RawDownload
FROM ruby:3.4.7ENV LANG=C.UTF-8ENV ENABLE_SERVICE_WORKER=true WORKDIR /devdocs RUN apt-get update && \    apt-get -y install git nodejs libcurl4 && \    gem install bundler && \    rm -rf /var/lib/apt/lists/* COPY Gemfile Gemfile.lock Rakefile /devdocs/ RUN bundle config set path.system true && \    bundle install && \    rm -rf ~/.gem /root/.bundle/cache /usr/local/bundle/cache COPY . /devdocs RUN thor docs:download --all && \    thor assets:compile && \    rm -rf /tmp EXPOSE 9292CMD rackup -o 0.0.0.0