efcsydney/efcsydney-roster

View on GitHub
docker/Dockerfile-dev

Summary

Maintainability
Test Coverage
FROM mhart/alpine-node:8.12.0

RUN apk update && apk add --no-cache bash python

# clean cache to fix "npm ERR! write after end" issue
RUN npm cache clean -f && npm install -g npm@5.6.0 && npm install -g --loglevel verbose pm2@latest

WORKDIR /opt/

EXPOSE 3000 3001 3002
ENTRYPOINT ["/bin/bash", "-ex", "/opt/efcsydney-roster/docker/Entrypoint.sh", "dev"]