paypal / AATT

Automated Accessibility Testing Tool
BSD 3-Clause "New" or "Revised" License
602 stars 106 forks source link

dockerize AATT #37

Closed pgsung closed 6 years ago

pgsung commented 6 years ago

I've successfully dockerized the AATT with Docckerfile

FROM node:8.9.4

RUN apt-get update && \ apt-get install -y openssh-client git && \ rm -rf /var/lib/apt/lists/* COPY . /usr/src/app WORKDIR /usr/src/app

RUN npm install RUN git submodule init RUN git submodule update

EXPOSE 3000 ENTRYPOINT DEBUG=AATT* http_port=3000 node app.js

and .dockerignore

Dockerfile ./node_modules

It would be nice if the maintainer can include these files into master tree to help people deploying AATT much easier.

mpnkhan commented 6 years ago

Please raise a pull request. Would be glad to integrate your changes.