FROM ruby:3-alpine RUN apk add --no-cache \ build-base \ python3 \ py3-pip RUN pip3 install awscli RUN rm -rf /var/cache/apk/* RUN bundle config --global frozen 1 RUN bundle config --global deployment 'true' RUN bundle config set --local without 'development' WORKDIR /app COPY Gemfile.lock . COPY Gemfile . RUN bundle install COPY scripts/mime.types /etc/mime.types COPY . . ENTRYPOINT ["bundle", "exec", "jekyll"]