website/Dockerfile
Ian Adam Naval d66c5bfc15
Ensure external links open in new tab
Ensure noopener and norel via a plugin. Am I going to actually write a
test and check for this? Lol.
2024-04-02 02:04:28 -04:00

13 lines
274 B
Docker

FROM docker.io/jekyll/builder:4 AS builder
COPY --chown=1000 ./Gemfile* /src/
WORKDIR /src/
RUN bundle install
COPY --chown=1000 . /src
WORKDIR /src/ianonavy/
RUN jekyll build
FROM nginx:1.21.3
COPY --chown=nginx --from=builder /src/ianonavy/_site /usr/share/nginx/html/