Add Dockerfile

This commit is contained in:
Ian Adam Naval 2021-09-24 20:18:26 -04:00
parent b63cd21a79
commit 44abb6579d
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ include/
lib/
lib64
*.pyc
.jekyll-cache

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM jekyll/builder:3.8 AS builder
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/