17 lines
190 B
Docker
17 lines
190 B
Docker
FROM klakegg/hugo
|
|
|
|
ARG HUGO_HOST
|
|
ARG HUGO_PORT
|
|
|
|
ENV HUGO_HOST "http://$HUGO_HOST:$HUGO_PORT"
|
|
|
|
ADD serve.sh /serve.sh
|
|
|
|
WORKDIR /app
|
|
|
|
#CMD ["serve"]
|
|
|
|
ENTRYPOINT ["/serve.sh"]
|
|
|
|
VOLUME ["/app"]
|