slight corrections and improvements for docker-related configs

This commit is contained in:
2025-07-20 11:58:24 +02:00
parent 81fb38b34b
commit bcbdf60d73
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ COPY --from=build /app/target/Inviter.jar Inviter.jar
RUN chmod 755 Inviter.jar RUN chmod 755 Inviter.jar
# Run the JAR file # Run the JAR file
CMD ["java", "-jar", "Inviter.jar"] CMD ["java", "-jar", "Inviter.jar", "--hostname=0.0.0.0"]
+1 -2
View File
@@ -3,11 +3,10 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
restart: unless-stopped
container_name: inviter container_name: inviter
stdin_open: true stdin_open: true
tty: true tty: true
ports:
- "8080:8080"
volumes: volumes:
- inviter:/app - inviter:/app