mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
try to get things working. Backend does not find database build
This commit is contained in:
parent
9b1d4f243a
commit
d6279370fd
@ -76,6 +76,9 @@ RUN cd ../database && yarn install --production=false --frozen-lockfile --non-in
|
|||||||
# yarn build
|
# yarn build
|
||||||
RUN yarn run build
|
RUN yarn run build
|
||||||
|
|
||||||
|
# yarn build database
|
||||||
|
RUN cd ../database && yarn run build
|
||||||
|
|
||||||
##################################################################################
|
##################################################################################
|
||||||
# TEST ###########################################################################
|
# TEST ###########################################################################
|
||||||
##################################################################################
|
##################################################################################
|
||||||
|
|||||||
@ -73,7 +73,7 @@ RUN yarn run build
|
|||||||
FROM build as test_up
|
FROM build as test_up
|
||||||
|
|
||||||
# Run command
|
# Run command
|
||||||
CMD /bin/sh -c "yarn run dev_up"
|
CMD /bin/sh -c "yarn install && yarn run dev_up"
|
||||||
|
|
||||||
##################################################################################
|
##################################################################################
|
||||||
# TEST RESET #####################################################################
|
# TEST RESET #####################################################################
|
||||||
@ -81,7 +81,7 @@ CMD /bin/sh -c "yarn run dev_up"
|
|||||||
FROM build as test_reset
|
FROM build as test_reset
|
||||||
|
|
||||||
# Run command
|
# Run command
|
||||||
CMD /bin/sh -c "yarn run dev_reset"
|
CMD /bin/sh -c "yarn install && yarn run dev_reset"
|
||||||
|
|
||||||
##################################################################################
|
##################################################################################
|
||||||
# TEST DOWN ######################################################################
|
# TEST DOWN ######################################################################
|
||||||
@ -89,7 +89,7 @@ CMD /bin/sh -c "yarn run dev_reset"
|
|||||||
FROM build as test_down
|
FROM build as test_down
|
||||||
|
|
||||||
# Run command
|
# Run command
|
||||||
CMD /bin/sh -c "yarn run dev_down"
|
CMD /bin/sh -c "yarn install && yarn run dev_down"
|
||||||
|
|
||||||
##################################################################################
|
##################################################################################
|
||||||
# PRODUCTION (Does contain only "binary"- and static-files to reduce image size) #
|
# PRODUCTION (Does contain only "binary"- and static-files to reduce image size) #
|
||||||
|
|||||||
@ -37,6 +37,7 @@ services:
|
|||||||
# 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
|
||||||
- backend_node_modules:/app/node_modules
|
- backend_node_modules:/app/node_modules
|
||||||
- backend_database_node_modules:/database/node_modules
|
- backend_database_node_modules:/database/node_modules
|
||||||
|
- backend_database_build:/database/build
|
||||||
# bind the local folder to the docker to allow live reload
|
# bind the local folder to the docker to allow live reload
|
||||||
- ./backend:/app
|
- ./backend:/app
|
||||||
- ./database:/database
|
- ./database:/database
|
||||||
@ -155,6 +156,7 @@ volumes:
|
|||||||
frontend_node_modules:
|
frontend_node_modules:
|
||||||
backend_node_modules:
|
backend_node_modules:
|
||||||
backend_database_node_modules:
|
backend_database_node_modules:
|
||||||
|
backend_database_build:
|
||||||
database_node_modules:
|
database_node_modules:
|
||||||
database_build:
|
database_build:
|
||||||
login_build_ubuntu_3.1:
|
login_build_ubuntu_3.1:
|
||||||
Loading…
x
Reference in New Issue
Block a user