Created
April 15, 2017 09:41
-
-
Save urodoz/f6a3b1a7320895e23c3f516190d6e0ac to your computer and use it in GitHub Desktop.
Circus in Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:7.9.0 | |
MAINTAINER Albert Lacarta <[email protected]> | |
RUN npm install -g [email protected] && \ | |
npm install -g node-sass && \ | |
npm install -g http-server && \ | |
npm install -g gulp-cli | |
# Install circus to handle processes | |
RUN apt-get update && apt-get install -y python-pip python python-dev | |
RUN pip install circus | |
ADD circus.ini /etc/circus.ini | |
CMD circusd /etc/circus.ini | |
WORKDIR /opt/code | |
RUN touch /var/log/supervisord.log && chown node.node /var/log/supervisord.log | |
USER node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment