Fix assets directory in Docker and Webpack
This commit is contained in:
parent
7aee983f7e
commit
175f9c4853
|
@ -4,7 +4,7 @@ services:
|
||||||
app:
|
app:
|
||||||
image: opdavies/sculpin-serve
|
image: opdavies/sculpin-serve
|
||||||
volumes:
|
volumes:
|
||||||
- assets:/app/output_dev/build
|
- assets:/app/source/build
|
||||||
- /app/output_dev
|
- /app/output_dev
|
||||||
- .:/app
|
- .:/app
|
||||||
ports:
|
ports:
|
||||||
|
@ -15,7 +15,7 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: tools/docker/node/Dockerfile
|
dockerfile: tools/docker/node/Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- assets:/node/build
|
- assets:/node/source/build
|
||||||
- /node/node_modules
|
- /node/node_modules
|
||||||
- ./assets:/node/assets
|
- ./assets:/node/assets
|
||||||
- ./package.json:/node/package.json
|
- ./package.json:/node/package.json
|
||||||
|
|
|
@ -4,7 +4,7 @@ let path = require('path')
|
||||||
Encore
|
Encore
|
||||||
.disableSingleRuntimeChunk()
|
.disableSingleRuntimeChunk()
|
||||||
.cleanupOutputBeforeBuild()
|
.cleanupOutputBeforeBuild()
|
||||||
.setOutputPath('build/')
|
.setOutputPath('source/build/')
|
||||||
.setPublicPath('/build')
|
.setPublicPath('/build')
|
||||||
.setManifestKeyPrefix('build/')
|
.setManifestKeyPrefix('build/')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue