feat(docker): Include .git directory in Docker image for version control
Some checks failed
Build latest image / build-container (push) Failing after 13s
Some checks failed
Build latest image / build-container (push) Failing after 13s
This commit is contained in:
parent
8fbd031e46
commit
0032df1862
@ -2,6 +2,7 @@ FROM hugomods/hugo:exts AS build
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
|
COPY .git /app/.git
|
||||||
RUN hugo
|
RUN hugo
|
||||||
|
|
||||||
FROM hugomods/hugo:nginx
|
FROM hugomods/hugo:nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user