Updated .gitignore, fixed post, new post 'aperture-study'

This commit is contained in:
Bastian de Byl
2019-01-16 23:50:34 -05:00
parent 92a0ba95ee
commit 5fd0630480
8 changed files with 292 additions and 95 deletions

17
docker/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM alpine:3.7
MAINTAINER Bastian de Byl <bastiandebyl@gmail.com>
ENV HUGO_DIR /usr/local/hugo
ENV HUGO_BIN_DIR /usr/local/bin
ENV HUGO_RELEASE_VER 0.52
RUN mkdir ${HUGO_DIR}
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE_VER}/hugo_${HUGO_RELEASE_VER}_Linux-64bit.tar.gz ${HUGO_DIR}
RUN find ${HUGO_DIR} -name "hugo*.tar.gz" -exec tar xzvf {} -C ${HUGO_DIR} \; -exec rm -v {} \; \
&& ln -s ${HUGO_DIR}/hugo ${HUGO_BIN_DIR}
VOLUME /src
WORKDIR /src
EXPOSE 1313
CMD hugo server --baseURL=http://localhost:1313 --bind=0.0.0.0