Added Dockerfile

This commit is contained in:
JakubDrobnik 2018-11-19 18:04:29 +01:00
parent c878cd6a78
commit cea93bc74e

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM apify/actor-node-chrome
# Copy source code
COPY . ./
# 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
CMD [ "npm", "start" ]