Files
apify--crawlee/docs/guides/docker_browser_js.txt
Daniel Wébr 2e58992209 docs: website design uplift (#2872)
Deployed here: https://webrdaniel.github.io/:
It is not possible to navigate to the updated `/python` page as it lives
in different repo.

Changes:
- navigation header (different on index page and javascript pages)
- footer
- search modal
- new index page
- new [/js](https://webrdaniel.github.io/js) page

Figma design files are
[here](https://www.figma.com/design/EK51g98Cjx8UzmKJOUMcVe/Crawlee-brand-exploration?node-id=768-26162&t=tARb0KC2maZWdIaZ-0)

Content file:
https://www.notion.so/apify/Crawlee-homepage-value-props-12af39950a2280d29d20edb080b2ece9?pvs=4

---------

Co-authored-by: Eva Baldasseroni <37815707+baldasseva@users.noreply.github.com>
Co-authored-by: katzino <katzino@gmail.com>
Co-authored-by: Martin Adámek <banan23@gmail.com>
Co-authored-by: Jindřich Bär <jindrichbar@gmail.com>
2025-03-24 13:13:49 +01:00

30 lines
1.0 KiB
Plaintext

# Specify the base Docker image. You can read more about
# the available images at https://crawlee.dev/js/docs/guides/docker-images
# You can also use any other image from Docker Hub.
FROM apify/actor-node-playwright-chrome:20
# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY --chown=myuser package*.json ./
# Install NPM packages, skip optional and development dependencies to
# keep the image small. Avoid logging too much and print the dependency
# tree for debugging
RUN npm --quiet set progress=false \
&& npm install --omit=dev --omit=optional \
&& echo "Installed NPM packages:" \
&& (npm list --omit=dev --all || true) \
&& echo "Node.js version:" \
&& node --version \
&& echo "NPM version:" \
&& npm --version
# Next, copy the remaining files and directories with the source code.
# Since we do this after NPM install, quick build will be really fast
# for most source file changes.
COPY --chown=myuser . ./
# Run the image.
CMD npm start --silent