chaostreff-alzey.de/Dockerfile

15 lines
407 B
Text
Raw Normal View History

2024-10-19 12:49:46 +02:00
FROM alpine:latest
RUN apk update && apk add ruby-bundler ruby-dev git make gcc g++ musl-dev ruby-json ruby-bigdecimal nodejs linux-headers
RUN gem install jekyll
COPY git-dir/Gemfile .
COPY git-dir/Gemfile.lock .
RUN bundle lock --add-platform x86_64-linux-musl
RUN bundle update
RUN bundle install --verbose
COPY build.sh /srv
RUN chmod +x /srv/build.sh
WORKDIR /srv/
ENTRYPOINT ["/bin/sh", "build.sh"]