Fix hugo environment for robots.txt in not-prod

This commit is contained in:
Vincent Fiduccia
2018-07-17 15:43:23 -07:00
parent a6b67d2bb0
commit cdc400d1e5
4 changed files with 3 additions and 20 deletions
+1 -1
View File
@@ -1,4 +1,5 @@
FROM rancher/docs:build
ENV HUGO_ENV dev
VOLUME ["/site"]
WORKDIR /run
@@ -6,7 +7,6 @@ COPY package.json /run/
RUN ln -s /site/config.toml /run \
&& ln -s /site/.eslintrc.js /run \
&& ln -s /site/netlify.toml /run \
&& ln -s /site/archetypes /run \
&& ln -s /site/content /run \
&& ln -s /site/data /run \