Skip to content

Commit 69cbde6

Browse files
committed
chore: use node 22 in e2e tests and project templates
1 parent b18810e commit 69cbde6

File tree

57 files changed

+89
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+89
-89
lines changed

packages/templates/templates/camoufox-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20-1.50.1 AS builder
4+
FROM apify/actor-node-playwright-chrome:22-1.50.1 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-chrome:20-1.50.1
22+
FROM apify/actor-node-playwright-chrome:22-1.50.1
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist

packages/templates/templates/cheerio-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node:20
4+
FROM apify/actor-node:22
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/cheerio-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node:20 AS builder
4+
FROM apify/actor-node:22 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node:20
22+
FROM apify/actor-node:22
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder /usr/src/app/dist ./dist

packages/templates/templates/empty-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node:20
4+
FROM apify/actor-node:22
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/empty-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node:20 AS builder
4+
FROM apify/actor-node:22 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node:20
22+
FROM apify/actor-node:22
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder /usr/src/app/dist ./dist

packages/templates/templates/getting-started-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20
4+
FROM apify/actor-node-playwright-chrome:22
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/getting-started-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20 AS builder
4+
FROM apify/actor-node-playwright-chrome:22 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-chrome:20
22+
FROM apify/actor-node-playwright-chrome:22
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist

packages/templates/templates/playwright-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20
4+
FROM apify/actor-node-playwright-chrome:22
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/playwright-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20 AS builder
4+
FROM apify/actor-node-playwright-chrome:22 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-chrome:20
22+
FROM apify/actor-node-playwright-chrome:22
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist

packages/templates/templates/puppeteer-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-puppeteer-chrome:20
4+
FROM apify/actor-node-puppeteer-chrome:22
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

0 commit comments

Comments
 (0)