diff --git a/Dockerfile b/Dockerfile index 46d30cc..0c074d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,5 @@ WORKDIR /data COPY assets /data/assets/ COPY templates /data/templates/ COPY cards /data/cards/ +COPY policies /data/policies/ ENTRYPOINT ["/root/.cabal/bin/site"] diff --git a/Types.hs b/Types.hs index f4212d8..683061e 100644 --- a/Types.hs +++ b/Types.hs @@ -88,7 +88,7 @@ siteOptions' = do help "Assets directory to be copied verbatim" <> value "assets" <> showDefault _sourceDirs <- - fmap (maybe ["cards"] toList . nonEmpty) . many . strOption $ + fmap (maybe ["cards","policies"] toList . nonEmpty) . many . strOption $ long "source-directory" <> short 's' <> help