add node-sass rebuild to Dockerfile, update README with Docker disk space usage
This commit is contained in:
parent
22cd8920a1
commit
4af6990b07
2 changed files with 7 additions and 5 deletions
|
@ -11,6 +11,9 @@ WORKDIR $APP_HOME
|
||||||
RUN git submodule init && \
|
RUN git submodule init && \
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
# Rebuild node-sass just to be safe
|
||||||
|
RUN npm rebuild node-sass
|
||||||
|
|
||||||
# For development, mark the directory as a mount override point
|
# For development, mark the directory as a mount override point
|
||||||
VOLUME $APP_HOME
|
VOLUME $APP_HOME
|
||||||
|
|
||||||
|
|
|
@ -38,12 +38,11 @@ Please refer to [this gist](https://gist.github.com/andrewn/953ffd5cb17ac2634dc9
|
||||||
|
|
||||||
The automatic redirection to HTTPS is turned off by default in development. If you need to test this behavior, put `FORCE_TO_HTTPS=true` in your `.env` file.
|
The automatic redirection to HTTPS is turned off by default in development. If you need to test this behavior, put `FORCE_TO_HTTPS=true` in your `.env` file.
|
||||||
|
|
||||||
## Development Installation (using Docker)
|
## Development Installation using Docker
|
||||||
|
|
||||||
Using Docker, you can have a complete, consistent development environment
|
Using Docker, you can have a complete, consistent development environment without having to manually install dependencies such as Node, Mongo, etc. It also helps isolate these dependencies and their data from other projects that you may have on the same computer that use different/conflicting versions, etc.
|
||||||
without having to manually install dependencies such as Node, Mongo, etc. It
|
|
||||||
also helps isolate these dependencies and their data from other projects that
|
Note that this takes up a significant amount of space on your machine. Make sure you have at least 5GB free.
|
||||||
you may have on the same computer that use different/conflicting versions, etc.
|
|
||||||
|
|
||||||
1. Install Docker for your operating system
|
1. Install Docker for your operating system
|
||||||
* Mac: https://www.docker.com/docker-mac
|
* Mac: https://www.docker.com/docker-mac
|
||||||
|
|
Loading…
Reference in a new issue