1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 09:13:23 -05:00
This commit is contained in:
Drew Larson 2017-01-16 19:39:11 -06:00
parent 3e18581aa0
commit 821986613e
3 changed files with 3 additions and 2 deletions

View File

@ -14,3 +14,4 @@ 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
EXPOSE 8000

View File

@ -140,7 +140,7 @@ WEBPACK_LOADER = {
'DEFAULT': {
'CACHE': False,
'BUNDLE_DIR_NAME': 'bundles/', # must end with slash
'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats.json'),
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
'POLL_INTERVAL': 0.1,
'IGNORE': ['.+\.hot-update.js', '.+\.map']
}

View File

@ -41,7 +41,7 @@ WEBPACK_LOADER = {
'DEFAULT': {
'CACHE': True,
'BUNDLE_DIR_NAME': 'dist/', # must end with slash
'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats-prod.json'),
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats-prod.json'),
'POLL_INTERVAL': 0.1,
'IGNORE': ['.+\.hot-update.js', '.+\.map']
}