fix: docker copy .git
This commit is contained in:
@@ -16,6 +16,9 @@ RUN pnpm install --frozen-lockfile
|
|||||||
# Copy source files
|
# Copy source files
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Copy .git folder
|
||||||
|
COPY .git/ ./.git/
|
||||||
|
|
||||||
# Compress MP4 videos in-place before Hugo builds
|
# Compress MP4 videos in-place before Hugo builds
|
||||||
RUN sh scripts/compress-videos.sh content
|
RUN sh scripts/compress-videos.sh content
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user