diff --git a/docker/Dockerfile b/docker/Dockerfile
index abccd12..8c0219c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM openjdk:11
+FROM openjdk:17-slim
COPY target/labyrinth-server-*.jar /app/app.jar
diff --git a/pom.xml b/pom.xml
index 3518f8b..ecd2143 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,6 +18,8 @@
1.4.6
1.18.26
2.0.5
+ 17
+ 17