vintasoftware / django-react-boilerplate

Django 5, React, Bootstrap 5 with Python 3 and Webpack project boilerplate
MIT License
1.97k stars 479 forks source link

Fix backend container issues with webpack #441

Closed jhgv closed 4 years ago

jhgv commented 4 years ago

Description

The backend container was not having access to the webpack-stats.json file. This PR fixes #432 and closes #440

Steps to reproduce

Types of changes

Checklist:

vanessa commented 4 years ago

@jhgv Errored during the build when I tried to run docker-compose up:

 ---> 7d0ee93663d0
Step 10/13 : COPY webpack-stats.json/ /home/user
ERROR: Service 'backend' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder683044911/webpack-stats.json: no such file or directory
jhgv commented 4 years ago

@vanessa It should be fine now

vanessa commented 4 years ago

Nice! I'll review it by the end of this week.