slight corrections and improvements for docker-related configs
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user