Created
December 15, 2018 05:30
-
-
Save kdidenko/6cca1debb640dc75fd9708b18a022a0d to your computer and use it in GitHub Desktop.
Simple APIFY Dockerfile with extended NPM usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM apify/actor-node-chrome | |
# Copy source code | |
COPY . ./ | |
COPY src ./src | |
# Install default dependencies, print versions of everything | |
RUN npm --quiet set progress=false \ | |
&& npm install --only=prod --no-optional \ | |
&& echo "Installed NPM packages:" \ | |
&& npm list \ | |
&& echo "Node.js version:" \ | |
&& node --version \ | |
&& echo "NPM version:" \ | |
&& npm --version | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment