Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Fix docker build in travis

Travis CI7691ecb22762
diff --git a/.travis/release-images.js b/.travis/release-images.js
index 3711694c7..7c20ded30 100644
--- a/.travis/release-images.js
+++ b/.travis/release-images.js
@@ -113,7 +113,7 @@ try {
IMAGES_TO_BUILD.forEach(imageName => {
log(`Building image: ${imageName}`);
const dockerImage = `apify/actor-${imageName}:latest`;
- execSync(`docker build --pull --tag ${dockerImage} --no-cache ./${imageName}/`);
+ execSync(`docker build --pull --tag ${dockerImage} --no-cache ./${imageName}/`, { cwd: IMAGE_REPO_DIR });
log(`${imageName}: built. Running a test.`);
execSync(`docker run ${dockerImage}`);
log(`${imageName}: test successful. Pushing image to repository.`);