Skip to content

Commit

Permalink
Added Output Directory for all outputFileName to go into so they aren…
Browse files Browse the repository at this point in the history
…'t overwritten in storage
  • Loading branch information
cpdata committed Dec 4, 2023
1 parent 35ea95b commit a996ab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const defaultConfig: Config = {
url: "https://www.builder.io/c/docs/developers",
match: "https://www.builder.io/c/docs/**",
maxPagesToCrawl: 50,
outputFileName: outputFileName,
waitPerPageCrawlTimeoutRange: {min:1000, max:1000},
headless: true,
maxConcurrency: 1,
Expand Down
5 changes: 3 additions & 2 deletions containerapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ RUN cd /home && git clone https://github.com/builderio/gpt-crawler && cd gpt-cra
npx playwright install && \
npx playwright install-deps

# Directory to mount in the docker container to get the output.json data
# Directories to mount in the docker container to get the output json data
RUN cd /home && mkdir data

# Final output directory
RUN cd /home && mkdir outputs

WORKDIR /home

0 comments on commit a996ab1

Please sign in to comment.