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:
committed by
Henry Oswald
parent
6d42e18088
commit
b64106b730
19
Dockerfile
Normal file
19
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user