Skip to content

Instantly share code, notes, and snippets.

@torchhound
Last active November 4, 2018 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torchhound/6c5d1689dd5a6885c7c406644f6bc45f to your computer and use it in GitHub Desktop.
Save torchhound/6c5d1689dd5a6885c7c406644f6bc45f to your computer and use it in GitHub Desktop.
mongo-crud docker/Dockerfile.test
FROM docker_backend
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
RUN chmod +x /wait
ENV NODE_ENV dev
RUN npm install && npm install -g mocha
ARG port=80
CMD /wait && mocha test/unitTests.js --exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment