github.com/techend/deis@v1.0.1-0.20141111224634-e0eee0392b8a/builder/slugrunner/Dockerfile (about)

     1  FROM progrium/cedarish:latest
     2  MAINTAINER OpDemand <info@opdemand.com>
     3  
     4  RUN mkdir /app
     5  RUN addgroup --quiet --gid 2000 slug && \
     6      useradd slug --uid=2000 --gid=2000 --home-dir /app --no-create-home \
     7          --shell /bin/bash
     8  RUN chown slug:slug /app
     9  WORKDIR /app
    10  
    11  # add default port to expose (can be overridden)
    12  ENV PORT 5000
    13  EXPOSE 5000
    14  
    15  ADD ./runner /runner
    16  RUN chown slug:slug /runner/init
    17  USER slug
    18  ENV HOME /app
    19  ENTRYPOINT ["/runner/init"]