needs hacked pacth in docker runner

wip

most tests pass
This commit is contained in:
Henry Oswald
2018-02-13 12:05:10 +00:00
parent b64106b730
commit 017ba3a4ec
19 changed files with 3008 additions and 1912 deletions

View File

@@ -2,17 +2,21 @@ FROM node:6.9.5
RUN wget -qO- https://get.docker.com/ | sh
# ---- Copy Files/Build ----
WORKDIR /app
run apt-get install poppler-utils vim ghostscript --yes
# run git build-essential --yes
# RUN git clone https://github.com/netblue30/firejail.git
# RUN cd firejail && ./configure && make && make install-strip
# run mkdir /data
COPY ./ /app
# Build react/vue/angular bundle static files
# RUN npm run build
WORKDIR /app
RUN npm install
RUN npm run compile
EXPOSE 3013
ENV SHARELATEX_CONFIG /app/config/settings.production.coffee
ENV NODE_ENV production