Ver código fonte

Inline baseUrl instead of using a pointless arg.

master
Chris Smith 6 anos atrás
pai
commit
cd5ff73de4
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1
    3
      Dockerfile

+ 1
- 3
Dockerfile Ver arquivo

@@ -14,11 +14,9 @@ ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINA
14 14
 RUN dpkg -i /tmp/hugo.deb \
15 15
 	&& rm /tmp/hugo.deb
16 16
 
17
-ARG baseurl=https://www.chameth.com/
18
-
19 17
 USER nobody:nogroup
20 18
 ADD site /tmp/site
21
-RUN hugo -b $baseurl -v -s /tmp/site -d /tmp/hugo && \
19
+RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
22 20
 	cp /tmp/hugo/index.xml /tmp/hugo/feed.xml
23 21
 
24 22
 ##

Carregando…
Cancelar
Salvar