Dockerfile 339 B

12345678910111213141516
  1. FROM node:8-alpine
  2. ENV GULP_DIR "/tmp/gulp"
  3. RUN apk update && apk add bash
  4. SHELL ["/bin/bash", "-o", "pipefail", "-c"]
  5. CMD bash # If you want to override CMD
  6. RUN npm install -g gulp
  7. COPY docker-entrypoint.sh /
  8. # enable volume to generate build files into the hosts FS
  9. VOLUME ["$GULP_DIR"]
  10. # start
  11. ENTRYPOINT ["/docker-entrypoint.sh"]