Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Update dockerfile with colab_edemocracia updates
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Fernandes <[email protected]>
  • Loading branch information
msfernandes committed Dec 7, 2017
1 parent 10d9cb9 commit 97c9b31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ RUN pip install . psycopg2 gunicorn elasticsearch python-memcached easy_thumbnai
RUN pip install colab-edemocracia colab-audiencias colab-discourse \
colab-wikilegis colab-mkdocs-tos

WORKDIR /usr/lib/python2.7/site-packages/colab_edemocracia
RUN npm install
WORKDIR /var/labhacker/colab

COPY ./misc/etc/colab/settings.py ./misc/etc/colab/gunicorn.py /etc/colab/
COPY ./misc/etc/colab/settings.d/01-database.py \
./misc/etc/colab/settings.d/02-memcached.py \
Expand Down
3 changes: 3 additions & 0 deletions misc/etc/colab/plugins.d/edemocracia.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
),
'LIBSASS_SOURCEMAPS': 'DEBUG',
'COMPRESS_ROOT': "/usr/lib/python2.7/site-packages/colab_edemocracia/static",
'COMPRESS_NODE_MODULES': "/usr/lib/python2.7/site-packages/colab_edemocracia/node_modules",
"COMPRESS_NODE_SASS_BIN": "/usr/lib/python2.7/site-packages/colab_edemocracia/node_modules/.bin/node-sass",
"COMPRESS_POSTCSS_BIN": "/usr/lib/python2.7/site-packages/colab_edemocracia/node_modules/.bin/postcss",
'COLAB_TEMPLATES': (
"/usr/lib/python2.7/site-packages/colab_edemocracia/templates",
),
Expand Down

0 comments on commit 97c9b31

Please sign in to comment.