Last active
March 6, 2017 11:09
-
-
Save hiyosi/841a738b5a98f2c41f0d8dccd5db4e7f to your computer and use it in GitHub Desktop.
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 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