built with 1.1.0 scripts

This commit is contained in:
Henry Oswald 2018-03-02 18:08:13 +00:00
parent 2168f20715
commit 9afb7e9417
2 changed files with 2 additions and 30 deletions

View file

@ -19,9 +19,9 @@ WORKDIR /app
# All app and node_modules will be owned by root.
# The app will run as the 'app' user, and so not have write permissions
# on any files it doesn't need.
RUN useradd --user-group --create-home --home-dir /app --shell /bin/bash app
RUN useradd --user-group --create-home --home-dir /app --shell /bin/false app
RUN [ -e ./install_deps.sh ] && ./install_deps.sh
# USER app
USER app
CMD ["node","app.js"]

View file

@ -29,34 +29,6 @@ services:
- mongo
entrypoint: npm run test:acceptance
synctex:
image: quay.io/sharelatex/texlive-full:2017.1
volumes:
- ~/Projects/sharelatex-dev-environment/clsi/compiles/cd749215b3512:/compile
- ./bin/synctex:/opt/synctex
entrypoint:
/opt/synctex pdf /compile/output.pdf 1 100 200
# /opt/synctex code -h
# /opt/synctex code /compile/main.tex ./main.tex 3 5
# ls -al
app:
build: .
volumes:
- .:/app
working_dir: /app
extends:
file: docker-compose-config.yml
service: dev
environment:
REDIS_HOST: redis
MONGO_HOST: mongo
depends_on:
- redis
- mongo
redis:
image: redis