Public | Automated Build

Last pushed: 2 months ago
Dockerfile
FROM node:8-slim EXPOSE 8000 MAINTAINER Jean-Christophe Hoelt <hoelt@fovea.cc> RUN useradd app -d /home/app WORKDIR /home/app/code COPY package.json package-lock.json /home/app/code/ RUN chown -R app /home/app USER app RUN npm install COPY .eslintrc .eslintignore config.js coffeelint.json Makefile index.js statistics-worker.sh statistics-worker.coffee /home/app/code/ COPY tests /home/app/code/tests COPY src /home/app/code/src USER root RUN chown -R app /home/app WORKDIR /home/app/code USER app RUN ./node_modules/.bin/eslint src/ && \ ./node_modules/.bin/coffeelint -q src tests CMD node_modules/.bin/forever index.js
Source Repository