Skip to content

Commit

Permalink
Fix creation of log directory in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Jun 27, 2024
1 parent c30e991 commit 3e5e4dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ enablePlugins(SiteScaladocPlugin)

dockerEntrypoint := Seq("/opt/docker/bin/jsonoid-web", "-Dhttp.port=8080")
dockerBaseImage := "azul/zulu-openjdk:11-jre"
dockerCommands ++= Seq(
Cmd("USER", "root"),
ExecCmd("RUN", "mkdir", "-p", "/opt/docker/logs"),
)
dockerExposedPorts := Seq(8080)


Expand Down

0 comments on commit 3e5e4dd

Please sign in to comment.