mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Yeesh.
This commit is contained in:
parent
3e18581aa0
commit
821986613e
@ -14,3 +14,4 @@ RUN bower install --allow-root
|
|||||||
RUN npm install --unsafe-perm
|
RUN npm install --unsafe-perm
|
||||||
RUN npm run build-production
|
RUN npm run build-production
|
||||||
RUN DJANGO_SETTINGS_MODULE=bikeshop.settings.production python manage.py collectstatic --no-input
|
RUN DJANGO_SETTINGS_MODULE=bikeshop.settings.production python manage.py collectstatic --no-input
|
||||||
|
EXPOSE 8000
|
||||||
|
@ -140,7 +140,7 @@ WEBPACK_LOADER = {
|
|||||||
'DEFAULT': {
|
'DEFAULT': {
|
||||||
'CACHE': False,
|
'CACHE': False,
|
||||||
'BUNDLE_DIR_NAME': 'bundles/', # must end with slash
|
'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,
|
'POLL_INTERVAL': 0.1,
|
||||||
'IGNORE': ['.+\.hot-update.js', '.+\.map']
|
'IGNORE': ['.+\.hot-update.js', '.+\.map']
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ WEBPACK_LOADER = {
|
|||||||
'DEFAULT': {
|
'DEFAULT': {
|
||||||
'CACHE': True,
|
'CACHE': True,
|
||||||
'BUNDLE_DIR_NAME': 'dist/', # must end with slash
|
'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,
|
'POLL_INTERVAL': 0.1,
|
||||||
'IGNORE': ['.+\.hot-update.js', '.+\.map']
|
'IGNORE': ['.+\.hot-update.js', '.+\.map']
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user