]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - Dockerfile
3c6e05862502511daab3bbef04c4b79ab896ce5a
[rbdr/r.bdr.sh] / Dockerfile
1 FROM ruby:3-alpine
2
3 RUN apk add --no-cache \
4 build-base \
5 python3 \
6 py3-pip
7
8 RUN pip3 install awscli
9 RUN rm -rf /var/cache/apk/*
10
11 RUN bundle config --global frozen 1
12 RUN bundle config --global deployment 'true'
13 RUN bundle config set --local without 'development'
14
15 WORKDIR /app
16
17 COPY Gemfile.lock .
18 COPY Gemfile .
19 RUN bundle install
20
21 COPY scripts/mime.types /etc/mime.types
22 COPY . .
23
24 ENTRYPOINT ["bundle", "exec", "jekyll"]