2023-10-17 20:06:36 +02:00
|
|
|
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
|
2023-12-05 09:16:30 +01:00
|
|
|
COPY ./entrypoint.sh /opt/jekyll
|
2023-10-17 20:06:36 +02:00
|
|
|
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"]
|