mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
when building in development environment the docker container contains the built files, but files are read from local harddrive where the build folder is not present. We mount a drive for the build folder in development mode.
This happens since we always use the built variant of the database project since the table contains the filename - which then varies between js & ts
This commit is contained in:
parent
996202a6bd
commit
ed742095c2
@ -58,6 +58,7 @@ services:
|
|||||||
# This makes sure the docker container has its own node modules.
|
# This makes sure the docker container has its own node modules.
|
||||||
# Therefore it is possible to have a different node version on the host machine
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
- database_node_modules:/app/node_modules
|
- database_node_modules:/app/node_modules
|
||||||
|
- database_build:/app/build
|
||||||
# bind the local folder to the docker to allow live reload
|
# bind the local folder to the docker to allow live reload
|
||||||
- ./database:/app
|
- ./database:/app
|
||||||
|
|
||||||
@ -149,4 +150,5 @@ volumes:
|
|||||||
frontend_node_modules:
|
frontend_node_modules:
|
||||||
backend_node_modules:
|
backend_node_modules:
|
||||||
database_node_modules:
|
database_node_modules:
|
||||||
|
database_build:
|
||||||
login_build_ubuntu_3.1:
|
login_build_ubuntu_3.1:
|
||||||
Loading…
x
Reference in New Issue
Block a user