Dockerfile 227 B

12345678910111213
  1. FROM node:8
  2. RUN apt-get update && apt-get install -qq libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++
  3. RUN mkdir -p /jsbarcode
  4. WORKDIR /jsbarcode
  5. COPY ./ ./
  6. RUN npm install
  7. CMD npm test
  8. EXPOSE 3000