diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..94f03d0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +Dockerfile +.github + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1e4cb9f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ + + +FROM alpine:latest + +ARG HUGO_VERSION=0.68.3 + +RUN apk add git + +WORKDIR /tmp +RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -O hugo.tar.gz \ + && tar -xzf hugo.tar.gz \ + && cp hugo /opt/hugo \ + && rm -rf /tmp/* + +WORKDIR /usr/src/app +COPY . . +RUN git submodule init && git submodule update --remote --merge + +EXPOSE 1313 +CMD [ "/opt/hugo", "server", "--bind=0.0.0.0" ] + diff --git a/themes/BAPC21-theme b/themes/BAPC21-theme index 0129680..11d9fe7 160000 --- a/themes/BAPC21-theme +++ b/themes/BAPC21-theme @@ -1 +1 @@ -Subproject commit 0129680b3b950fdabe976bf729a46608189eea9b +Subproject commit 11d9fe7fafddd232c5d437af9eb18758b657ffcb