Louis Deconinck
12/04/2025, 5:18 PMDockerfile
# Specify the base Docker image. You can read more about
# the available images at https://crawlee.dev/docs/guides/docker-images
# Using actor-node-playwright-chrome which is Debian-based (glibc) for onnxruntime-node compatibility
FROM apify/actor-node-playwright-chrome:22-1.54.1 AS builder
# Check preinstalled packages
RUN npm ls crawlee apify puppeteer playwright
# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY --chown=myuser:myuser package*.json ./
# Install all dependencies. Don't audit to speed up the installation.
RUN npm install --include=dev --audit=false
# Next, copy the source files using the user set
# in the base image.
COPY --chown=myuser:myuser . ./
# Install all dependencies and build the project.
# Don't audit to speed up the installation.
RUN npm run build
# Create final image - using Playwright image for glibc (required by onnxruntime-node)
FROM apify/actor-node-playwright-chrome:22-1.54.1
# Check preinstalled packages
RUN npm ls crawlee apify puppeteer playwright
# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY --chown=myuser:myuser package*.json ./
# Install NPM packages, skip optional and development dependencies
RUN npm --quiet set progress=false \
&& npm install --omit=dev \
&& echo "Installed NPM packages:" \
&& (npm list --omit=dev --all || true) \
&& echo "Node.js version:" \
&& node --version \
&& echo "NPM version:" \
&& npm --version \
&& rm -r ~/.npm
# Copy built JS files from builder image
COPY --from=builder --chown=myuser:myuser /home/myuser/dist ./dist
# Next, copy the remaining files and directories with the source code.
COPY --chown=myuser:myuser . ./
# Run the image.
CMD npm run start:prod --silent
https://cdn.discordapp.com/attachments/1446189004461707314/1446189004709040201/image.png?ex=693313f7&is=6931c277&hm=296d89b1eba296a7e139b38f13f4e906587163174d0ceb92821a4c7902c7687e&Answer Overflow
12/04/2025, 5:18 PMPepa J
12/05/2025, 10:24 AMapify-cli push command see https://docs.apify.com/cli
You can also sent the ActorId to my DM and I can take a look.Louis Deconinck
12/05/2025, 10:34 AMapify-push I've sent the actor ID to your DM. Thanks for taking a look! I suspect possibly the README is too big as I've included a sample output which is quite large.Pepa J
12/05/2025, 10:57 AMapify-cli, to upload large directories as a zip archive and therefore it doesn't show up in the WebIDE.
It is mentioned [in the doc](https://docs.apify.com/platform/actors/development/deployment).
https://cdn.discordapp.com/attachments/1446189004461707314/1446455449003233311/image_720.png?ex=69340c1c&is=6932ba9c&hm=faecbb2a64cbc346356d36962af6a2d2eae55387b46d683de53cd8e41aca2bd3&Louis Deconinck
12/05/2025, 11:00 AMLouis Deconinck
12/05/2025, 11:00 AMPepa J
12/05/2025, 11:03 AMLouis Deconinck
12/08/2025, 8:25 AMPepa J
12/08/2025, 9:09 AM