From ed742095c27ea7923bd5c57b2d4ad6d2a57b5040 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 24 Aug 2021 18:01:22 +0200 Subject: [PATCH] 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 --- docker-compose.override.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 078ac60c3..5eb808b99 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -58,6 +58,7 @@ services: # 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 - database_node_modules:/app/node_modules + - database_build:/app/build # bind the local folder to the docker to allow live reload - ./database:/app @@ -149,4 +150,5 @@ volumes: frontend_node_modules: backend_node_modules: database_node_modules: + database_build: login_build_ubuntu_3.1: \ No newline at end of file