Skip to content

Commit

Permalink
feat: git clone depth limit in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fer-ri authored Jan 31, 2024
1 parent 788001f commit 87767db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containerapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc
sudo apt-get install nodejs -y

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


WORKDIR /home
WORKDIR /home

0 comments on commit 87767db

Please sign in to comment.