acceptence tests pass inside docker container (apart from sync)

This commit is contained in:
Henry Oswald
2018-02-16 11:36:32 +00:00
parent 017ba3a4ec
commit a2a8b70b74
16 changed files with 351 additions and 310 deletions

View File

@@ -1,23 +1,16 @@
FROM node:6.9.5
RUN wget -qO- https://get.docker.com/ | sh
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
FROM node:6.13.0
COPY ./ /app
WORKDIR /app
RUN npm install
RUN [ -e ./install_deps.sh ] && ./install_deps.sh
RUN npm run compile
ENV SHARELATEX_CONFIG /app/config/settings.production.coffee
ENV NODE_ENV production
CMD ["node","/app/app.js"]