]>
Commit | Line | Data |
---|---|---|
300639b4 RBR |
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 | ||
13 | WORKDIR /app | |
14 | ||
15 | COPY Gemfile.lock . | |
16 | COPY Gemfile . | |
377a62f3 | 17 | RUN bundle install --deployment |
300639b4 RBR |
18 | |
19 | COPY scripts/mime.types /etc/mime.types | |
20 | COPY . . | |
21 | ||
377a62f3 | 22 | ENTRYPOINT ["bundle", "exec", "jekyll"] |