Skip to content

Commit

Permalink
Don't build static files in development since they'll get overwritten…
Browse files Browse the repository at this point in the history
… anyway
  • Loading branch information
gentlecat committed Jun 2, 2017
1 parent 4092986 commit a2623c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,9 @@ WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt

# Node dependencies
COPY ./package.json /code/
COPY ./npm-shrinkwrap.json /code/
RUN npm install

COPY . /code/

# Compile translations
RUN pybabel compile -d critiquebrainz/frontend/translations

# Build static files
RUN ./node_modules/.bin/gulp

CMD python3 manage.py runserver -h 0.0.0.0 -p 80 -d

0 comments on commit a2623c4

Please sign in to comment.