mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Updated dockerfile and build script with monorepo changes
This commit is contained in:
parent
ead0f21965
commit
fa13f4f079
2 changed files with 11 additions and 5 deletions
|
@ -7,10 +7,16 @@ FROM sharelatex/sharelatex-base:latest
|
||||||
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
|
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
|
||||||
|
|
||||||
|
|
||||||
# Checkout Overleaf Community Edition repo
|
# Add required source files
|
||||||
# ----------------------------------------
|
# -------------------------
|
||||||
RUN git clone https://github.com/overleaf/overleaf.git \
|
ADD ${baseDir}/bin /var/www/sharelatex/bin
|
||||||
--depth 1 /var/www/sharelatex
|
ADD ${baseDir}/doc /var/www/sharelatex/doc
|
||||||
|
ADD ${baseDir}/migrations /var/www/sharelatex/migrations
|
||||||
|
ADD ${baseDir}/tasks /var/www/sharelatex/tasks
|
||||||
|
ADD ${baseDir}/Gruntfile.coffee /var/www/sharelatex/Gruntfile.coffee
|
||||||
|
ADD ${baseDir}/package.json /var/www/sharelatex/package.json
|
||||||
|
ADD ${baseDir}/npm-shrinkwrap.json /var/www/sharelatex/npm-shrinkwrap.json
|
||||||
|
ADD ${baseDir}/services.js /var/www/sharelatex/config/services.js
|
||||||
|
|
||||||
|
|
||||||
# Copy build dependencies
|
# Copy build dependencies
|
||||||
|
|
|
@ -12,7 +12,7 @@ grep 'name:' config/services.js | \
|
||||||
web)
|
web)
|
||||||
npm run webpack:production
|
npm run webpack:production
|
||||||
;;
|
;;
|
||||||
chat|filestore|notifications)
|
chat|filestore|notifications|tags)
|
||||||
echo "$service doesn't require a compilation"
|
echo "$service doesn't require a compilation"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue