Bad root server path for configuration file using Docker #11793
peacefulotter
started this conversation in
General
Replies: 2 comments 1 reply
-
This seems strange to me. The script generated by sbt-native package should contain a function something like: # Uses uname to detect if we're in the odd cygwin environment.
is_cygwin() {
local os=$(uname -s)
case "$os" in
CYGWIN*) return 0 ;;
*) return 1 ;;
esac
} This is what it generates me when running |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, I am curious if this has been answered somewhere else or fixed. Any news? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Play Version
Play Version 2.8.19
API
Scala: 2.13.10
Java 1.8.0_362
Operating System
Linux echo 5.19.0-40-generic #41~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 16:00:14 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
JDK
openjdk version "18" 2022-03-22
OpenJDK Runtime Environment (build 18+36-2087)
OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
Library Dependencies
"com.typesafe.play" %% "play-slick" % "5.1.0",
"org.postgresql" % "postgresql" % "42.5.4"
Expected Behavior
sbt "Docker \ publishLocal"
docker run --rm -p 9000:9000 playground-api
Actual Behavior
When entering the docker run command, a Bad Server Root path exception is thrown.
Reproducible Test Case
/conf/production.conf
build.sbt
Running
sbt "Docker \ publishLocal"
produces the following Dockerfile:What I have tried
Beta Was this translation helpful? Give feedback.
All reactions