Fix: README && Pass HUGO_URL to 'hugo serve"
This commit is contained in:
parent
16576bf561
commit
fc3ece2d7a
@ -5,8 +5,12 @@ ARG HUGO_PORT
|
|||||||
|
|
||||||
ENV HUGO_HOST "http://$HUGO_HOST:$HUGO_PORT"
|
ENV HUGO_HOST "http://$HUGO_HOST:$HUGO_PORT"
|
||||||
|
|
||||||
|
ADD serve.sh /serve.sh
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["serve","-b","http://docker:1313"]
|
#CMD ["serve"]
|
||||||
|
|
||||||
|
ENTRYPOINT ["/serve.sh"]
|
||||||
|
|
||||||
VOLUME ["/app"]
|
VOLUME ["/app"]
|
||||||
|
Loading…
Reference in New Issue
Block a user