FROM ruby:3.2.2 RUN useradd -ms /bin/bash --uid 1000 jekyll RUN mkdir -p -m 0755 /app/jekyll RUN mkdir -p -m 0755 /opt/jekyll VOLUME $PWD/data:/opt/jekyll RUN chmod +x /opt/jekyll/ && \ chown -R 1000:1000 /opt/jekyll && \ chown -R 1000:1000 /app USER 1000 WORKDIR /app/jekyll ENTRYPOINT ["/opt/jekyll/entrypoint.sh"]