Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Commit

Permalink
dockerfile: sass, rubygems e quiet scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
suggiro committed Jun 3, 2016
1 parent 5ffbbf0 commit 5026b34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.git
**/.sass-cache
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM python

# Install base dependencies for setup and dev runtime
RUN apt-get update && apt-get install -y libxml2-dev libxslt1-dev python-dev python-virtualenv nodejs npm
RUN npm install gulp gulp-uglify gulp-concat
RUN apt-get -q update && apt-get -q install -y libxml2-dev libxslt1-dev python-dev python-virtualenv

RUN apt-get -q update && apt-get -q install -y nodejs npm
RUN npm install gulp gulp-uglify gulp-concat &>> /dev/build.log

RUN apt-get -q update && apt-get -q install -y rubygems
RUN gem install -q sass


ENV ROOT_DIR /opt/pythonbrasil12-site
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ site:
- 8000:8000
volumes:
- .:/opt/pythonbrasil12-site/site
environment:
DEBUG: 1

0 comments on commit 5026b34

Please sign in to comment.