Browse Source

Merge pull request #18 from BridgeCityBicycleCoop/development

Finally fix that build
feature/python-error-tracking
Drew Larson 8 years ago
committed by GitHub
parent
commit
6db85eb1a4
  1. 3
      .bowerrc
  2. 2
      Dockerfile
  3. 3
      bikeshop_project/.bowerrc
  4. 1
      bikeshop_project/bower.json

3
.bowerrc

@ -1,3 +0,0 @@
{
"directory": "bikeshop_project/vendor"
}

2
Dockerfile

@ -9,6 +9,8 @@ ADD bikeshop_project /code
COPY requirements /code/requirements
RUN pip install -r requirements/production.txt
RUN npm cache clean
RUN npm install --unsafe-perm -g bower
RUN bower install --allow-root
RUN npm install --unsafe-perm
RUN npm run build-production
RUN DJANGO_SETTINGS_MODULE=bikeshop.settings.production python manage.py collectstatic --no-input

3
bikeshop_project/.bowerrc

@ -0,0 +1,3 @@
{
"directory": "vendor"
}

1
bower.json → bikeshop_project/bower.json

@ -9,7 +9,6 @@
"license": "MIT",
"homepage": "",
"private": true,
"directory": "bikeshop_project/vendor",
"ignore": [
"**/.*",
"node_modules",
Loading…
Cancel
Save