Skip to content

Instantly share code, notes, and snippets.

@hiyosi
Last active March 6, 2017 11:09
Show Gist options
  • Save hiyosi/841a738b5a98f2c41f0d8dccd5db4e7f to your computer and use it in GitHub Desktop.
Save hiyosi/841a738b5a98f2c41f0d8dccd5db4e7f to your computer and use it in GitHub Desktop.
FROM node:6-alpine
RUN apk add --no-cache --virtual tar curl bash gnupg \
&& rm -rf /var/cache/apk/*
RUN mkdir -p /opt/sample-js-crawler
WORKDIR /opt/sample-js-crawler
COPY package.json /opt/sample-js-crawler
RUN npm install
COPY index.js /opt/sample-js-crawler
ENTRYPOINT ["node"]
CMD ["index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment