Skip to content

Commit

Permalink
build: alterando dockerfile e mavem file para build
Browse files Browse the repository at this point in the history
  • Loading branch information
oLeoBarreto committed Oct 6, 2024
1 parent 44096e1 commit 6f83cac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM openjdk:17-jdk-slim
LABEL maintainer="Stock Management API by Leo Barreto" version=1.0.0
LABEL maintainer="Stock Management API by Leo Barreto" version=2.0.0
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.barreto</groupId>
<artifactId>StockManagement</artifactId>
<version>1.0.0</version>
<version>2.0.0</version>
<name>StockManagement</name>
<description>StockManagement</description>
<properties>
Expand Down

0 comments on commit 6f83cac

Please sign in to comment.