13 lines
264 B
Docker
13 lines
264 B
Docker
FROM docker.io/jekyll/builder:4 AS builder
|
|
|
|
COPY --chown=1000 ./Gemfile* /app/
|
|
WORKDIR /app/
|
|
RUN bundle install
|
|
|
|
COPY --chown=1000 . /app
|
|
WORKDIR /app/src/
|
|
RUN jekyll build
|
|
|
|
FROM nginx:1.21.3
|
|
COPY --chown=nginx --from=builder /app/src/_site /usr/share/nginx/html/
|