Provide hosts and siblings container as environment settings and add npm run start script

wip acceptence tests run, but don't all pass

wip

removed npm-debug from git
This commit is contained in:
James Allen
2017-12-29 08:08:19 +00:00
committed by Henry Oswald
parent 6d42e18088
commit b64106b730
14 changed files with 3431 additions and 94 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:6.9.5
RUN wget -qO- https://get.docker.com/ | sh
# ---- Copy Files/Build ----
WORKDIR /app
COPY ./ /app
# Build react/vue/angular bundle static files
# RUN npm run build
RUN npm install
RUN npm run compile
EXPOSE 3013
ENV SHARELATEX_CONFIG /app/config/settings.production.coffee
ENV NODE_ENV production
CMD ["node","/app/app.js"]