-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris Whong
committed
Sep 3, 2017
1 parent
7c1a4ce
commit 8bed016
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,24 +152,22 @@ ENV LC_ALL en_US.UTF-8 | |
|
||
|
||
RUN cd cartodb &&\ | ||
npm install [email protected] -g &&\ | ||
npm -v &&\ | ||
export PATH=$PATH:$PWD/node_modules/grunt-cli/bin &&\ | ||
bundle install &&\ | ||
bundle exec grunt --environment production | ||
|
||
RUN service postgresql start && service redis-server start &&\ | ||
cd cartodb &&\ | ||
bundle exec rake db:create &&\ | ||
bundle exec rake db:create &&\ | ||
bundle exec rake db:migrate &&\ | ||
service postgresql stop && service redis-server stop | ||
|
||
|
||
ADD ./create_user /cartodb/script/create_user | ||
RUN service postgresql start && service redis-server start && \ | ||
bash -l -c "cd /cartodb && bash script/create_user" && \ | ||
service postgresql stop && service redis-server stop | ||
|
||
|
||
EXPOSE 3000 8080 8181 | ||
|
||
ENV GDAL_DATA /usr/share/gdal/2.1 | ||
|