Compare commits
2 Commits
faa74fde1d
...
70ca5462ee
Author | SHA1 | Date |
---|---|---|
RyanSquared | 70ca5462ee | |
RyanSquared | 46e1b3e57d |
|
@ -10,5 +10,13 @@ RUN bundle install
|
||||||
COPY . /home
|
COPY . /home
|
||||||
RUN jekyll build
|
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
|
FROM nginx
|
||||||
COPY --from=builder /home/_site /usr/share/nginx/html
|
COPY --from=builder /home/_site /usr/share/nginx/html
|
||||||
|
COPY --from=mime-types /tmp/mime.types /etc/nginx/mime.types
|
||||||
|
|
Loading…
Reference in New Issue