mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
override command for intermediate containers to prevent execution of the container if command is defined
This commit is contained in:
parent
e045bc96f9
commit
d284f7b122
@ -7,6 +7,7 @@ services:
|
|||||||
dockerfile: ../webapp/Dockerfile
|
dockerfile: ../webapp/Dockerfile
|
||||||
context: ../webapp
|
context: ../webapp
|
||||||
target: base
|
target: base
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
webapp-code:
|
webapp-code:
|
||||||
image: ocelotsocialnetwork/webapp:local-code
|
image: ocelotsocialnetwork/webapp:local-code
|
||||||
@ -14,6 +15,7 @@ services:
|
|||||||
dockerfile: ../webapp/Dockerfile
|
dockerfile: ../webapp/Dockerfile
|
||||||
context: ../webapp
|
context: ../webapp
|
||||||
target: code
|
target: code
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
webapp:
|
webapp:
|
||||||
image: ocelotsocialnetwork/webapp-branded:local-${CONFIGURATION}
|
image: ocelotsocialnetwork/webapp-branded:local-${CONFIGURATION}
|
||||||
@ -51,6 +53,7 @@ services:
|
|||||||
dockerfile: ../backend/Dockerfile
|
dockerfile: ../backend/Dockerfile
|
||||||
context: ../backend
|
context: ../backend
|
||||||
target: base
|
target: base
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
backend-code:
|
backend-code:
|
||||||
image: ocelotsocialnetwork/backend:local-code
|
image: ocelotsocialnetwork/backend:local-code
|
||||||
@ -58,6 +61,7 @@ services:
|
|||||||
dockerfile: ../backend/Dockerfile
|
dockerfile: ../backend/Dockerfile
|
||||||
context: ../backend
|
context: ../backend
|
||||||
target: code
|
target: code
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: ocelotsocialnetwork/backend-branded:local-${CONFIGURATION}
|
image: ocelotsocialnetwork/backend-branded:local-${CONFIGURATION}
|
||||||
@ -106,6 +110,7 @@ services:
|
|||||||
dockerfile: ../webapp/Dockerfile.maintenance
|
dockerfile: ../webapp/Dockerfile.maintenance
|
||||||
context: ../webapp
|
context: ../webapp
|
||||||
target: base
|
target: base
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
maintenance-code:
|
maintenance-code:
|
||||||
image: ocelotsocialnetwork/maintenance:local-code
|
image: ocelotsocialnetwork/maintenance:local-code
|
||||||
@ -113,6 +118,7 @@ services:
|
|||||||
dockerfile: ../webapp/Dockerfile.maintenance
|
dockerfile: ../webapp/Dockerfile.maintenance
|
||||||
context: ../webapp
|
context: ../webapp
|
||||||
target: code
|
target: code
|
||||||
|
command: sleep 0
|
||||||
|
|
||||||
maintenance:
|
maintenance:
|
||||||
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user