Updated .gitignore, fixed post, new post 'aperture-study'
This commit is contained in:
17
docker/Dockerfile
Normal file
17
docker/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user