Skip to content

Commit 0051369

Browse files
committed
update references from jar to war
1 parent 8eca250 commit 0051369

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ COPY . /code
2222
# Build and run steve, requires a db to be available on port 3306
2323
CMD dockerize -wait tcp://mariadb:3306 -timeout 60s && \
2424
./mvnw clean package -Pdocker -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" && \
25-
java -XX:MaxRAMPercentage=85 -jar target/steve.jar
25+
java -XX:MaxRAMPercentage=85 -jar target/steve.war
2626

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ SteVe is designed to run standalone, a java servlet container / web server (e.g.
8282
8383
4. Build SteVe:
8484
85-
To compile SteVe simply use Maven. A runnable `jar` file containing the application and configuration will be created in the subdirectory `steve/target`.
85+
To compile SteVe simply use Maven. A runnable `war` file containing the application and configuration will be created in the subdirectory `steve/target`.
8686
8787
```
8888
# ./mvnw package
@@ -93,7 +93,7 @@ SteVe is designed to run standalone, a java servlet container / web server (e.g.
9393
To start the application run (please do not run SteVe as root):
9494
9595
```
96-
# java -jar target/steve.jar
96+
# java -jar target/steve.war
9797
```
9898
9999
# Docker

k8s/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ RUN ./mvnw clean package -Pkubernetes -Djdk.tls.client.protocols="TLSv1,TLSv1.1,
4242
FROM base AS release
4343

4444
# Copy relevant files from the build stage
45-
COPY --from=build /code/target/steve.jar /app/steve.jar
45+
COPY --from=build /code/target/steve.jar /app/steve.war
4646
COPY --from=build /code/target/libs /app/libs
4747

4848
# Expose any necessary ports (example: 8080)
4949
EXPOSE 8080
5050

5151
# Define the entrypoint for the release stage
52-
CMD ["java", "-jar", "/app/steve.jar"]
52+
CMD ["java", "-jar", "/app/steve.war"]

0 commit comments

Comments
 (0)