parent
e81fc0ad7a
commit
b1a09df267
|
@ -4,4 +4,7 @@ WORKDIR /src
|
|||
|
||||
RUN apk add hugo
|
||||
|
||||
CMD cd $1; hugo
|
||||
ADD *.sh /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["--help"]
|
||||
|
|
7
entrypoint.sh
Normal file
7
entrypoint.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd "$1"
|
||||
hugo
|
||||
|
Loading…
Reference in a new issue