New Apify engineers often mistakenly update only one base image. That can lead to tricky problems because the code might install and compile, but later lead to cryptic errors because of version mismatches. We can make this harder to mess up.
ARG BASE_IMAGE="apify/actor-node:24"
then replace to
FROM ${BASE_IMAGE} AS builder
FROM ${BASE_IMAGE}
New Apify engineers often mistakenly update only one base image. That can lead to tricky problems because the code might install and compile, but later lead to cryptic errors because of version mismatches. We can make this harder to mess up.
ARG BASE_IMAGE="apify/actor-node:24"
then replace to
FROM ${BASE_IMAGE} AS builder
FROM ${BASE_IMAGE}