File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11# Base image with Java 21
2- FROM openjdk :21-jdk-slim
2+ FROM eclipse-temurin :21-jdk-jammy
33
44# Install necessary tools: curl, unzip
55RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ import play.api.http.Status
66 * Base application exception with an associated HTTP status code.
77 * Specific exceptions extend this so handlers can map them to proper HTTP responses.
88 */
9- sealed abstract class AppException (message : String , val statusCode : Int = Status .BAD_REQUEST ) extends RuntimeException (message)
9+ case class AppException (message : String , val statusCode : Int = Status .BAD_REQUEST ) extends RuntimeException (message)
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import slick.jdbc.JdbcProfile
1414import java .time .Instant
1515import javax .inject .{Inject , Singleton }
1616import scala .concurrent .{ExecutionContext , Future }
17+ import exception .AppException
1718
1819@ Singleton
1920class WorkspaceService @ Inject ()(
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ slick.dbs.default.db.url = "jdbc:postgresql://localhost:5432/smart_taskhub"
3636slick.dbs.default.db.url = ${?DB_URL}
3737slick.dbs.default.db.user = "postgres"
3838slick.dbs.default.db.user = ${?DB_USER}
39- slick.dbs.default.db.password = "postgres "
39+ slick.dbs.default.db.password = "admin "
4040slick.dbs.default.db.password = ${?DB_PASSWORD}
4141
4242# Play evolutions
You can’t perform that action at this time.
0 commit comments