Compare commits

..

No commits in common. "70ca5462ee7d199ba61e5729dc71702d29e75675" and "faa74fde1d5b291defc26c55c75e8cdb817c5bd4" have entirely different histories.

1 changed files with 0 additions and 8 deletions

View File

@ -10,13 +10,5 @@ RUN bundle install
COPY . /home
RUN jekyll build
FROM debian:bookworm AS mime-types
RUN apt-get update && apt-get install -y media-types
RUN echo 'types {' > /tmp/mime.types
RUN sed -e '/^$/d' -e 's/$/;/' /etc/mime.types >> /tmp/mime.types
RUN echo '}' >> /tmp/mime.types
FROM nginx
COPY --from=builder /home/_site /usr/share/nginx/html
COPY --from=mime-types /tmp/mime.types /etc/nginx/mime.types