You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a service with two main classes, one for migrations and the other for the actual service. The two bash/bat files are generated, but I need a custom entrypoint script to call both scripts (to perform migrations first and then to run the service).
I'm getting the following error upon doing docker:publishLocal
[error] #10 ERROR: "/opt" not found: not found
[error] ------
[error] > [stage0 6/13] COPY opt /opt:
[error] ------
Without the setting Docker / dockerPackageMappings += (baseDirectory.value / "docker" / "docker-entrypoint.sh" -> "docker-entrypoint.sh") everything works fine but I can't override the entrypoint.
Is there any example that I can refer to for using a custom script as entrypoint?
The text was updated successfully, but these errors were encountered:
I have a service with two main classes, one for migrations and the other for the actual service. The two bash/bat files are generated, but I need a custom entrypoint script to call both scripts (to perform migrations first and then to run the service).
My docker settings are as follows:
This is the generated Dockerfile
The contents of the
docker/stage
folder are:I'm getting the following error upon doing
docker:publishLocal
Without the setting
Docker / dockerPackageMappings += (baseDirectory.value / "docker" / "docker-entrypoint.sh" -> "docker-entrypoint.sh")
everything works fine but I can't override the entrypoint.Is there any example that I can refer to for using a custom script as entrypoint?
The text was updated successfully, but these errors were encountered: