Permalink
Find file
ca154c0 Dec 11, 2016
@JonJagger @meekrosoft
14 lines (10 sloc) 307 Bytes
FROM cyberdojo/web_base
MAINTAINER Jon Jagger <jon@jaggersoft.com>
ARG CYBER_DOJO_HOME
RUN mkdir -p ${CYBER_DOJO_HOME}
COPY . ${CYBER_DOJO_HOME}
RUN chown -R cyber-dojo ${CYBER_DOJO_HOME}
WORKDIR ${CYBER_DOJO_HOME}
USER cyber-dojo
EXPOSE 3000
CMD [ "rails", "server", "--environment=production" ]