2017-12-29 03:08:19 -05:00
|
|
|
FROM node:6.9.5
|
|
|
|
|
|
|
|
RUN wget -qO- https://get.docker.com/ | sh
|
|
|
|
|
2018-02-13 07:05:10 -05:00
|
|
|
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
|
|
|
|
|
2017-12-29 03:08:19 -05:00
|
|
|
COPY ./ /app
|
2018-02-13 07:05:10 -05:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2017-12-29 03:08:19 -05:00
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
RUN npm run compile
|
|
|
|
|
|
|
|
ENV SHARELATEX_CONFIG /app/config/settings.production.coffee
|
|
|
|
ENV NODE_ENV production
|
|
|
|
|
|
|
|
CMD ["node","/app/app.js"]
|