Skip to content

Commit 3a9a6a0

Browse files
Merge pull request #142 from fer-ri/feat-git-clone-depth-docker
chore: git clone depth limit in docker
2 parents 5a0f56b + 87767db commit 3a9a6a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

containerapp/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc
2323
sudo apt-get install nodejs -y
2424

2525
# Install gpt-crawler
26-
RUN cd /home && git clone https://github.com/builderio/gpt-crawler && cd gpt-crawler && \
26+
RUN cd /home && git clone --depth=1 https://github.com/builderio/gpt-crawler && cd gpt-crawler && \
2727
npm i && \
2828
npx playwright install && \
2929
npx playwright install-deps
@@ -32,4 +32,4 @@ RUN cd /home && git clone https://github.com/builderio/gpt-crawler && cd gpt-cra
3232
RUN cd /home && mkdir data
3333

3434

35-
WORKDIR /home
35+
WORKDIR /home

0 commit comments

Comments
 (0)