Skip to content

Commit

Permalink
New Update
Browse files Browse the repository at this point in the history
1. Fix
  • Loading branch information
megoRU committed Jun 18, 2024
1 parent 8db52ac commit 5b34cfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Этап сборки приложения
FROM maven:3.9.6-amazoncorretto-21-al2023 AS builder
FROM maven:3.9.7-amazoncorretto-21-al2023 AS builder
WORKDIR /app
COPY . .
RUN mvn install
Expand All @@ -9,4 +9,4 @@ FROM openjdk:23-oraclelinux8
ENV LANG=C.UTF-8
WORKDIR /app
COPY --from=builder /app/target/GiveawayDiscordBot-0.0.1-SNAPSHOT.jar .
ENTRYPOINT ["java", "-jar", "./GiveawayDiscordBot-0.0.1-SNAPSHOT.jar"]
ENTRYPOINT ["java", "-jar", "./GiveawayDiscordBot-0.0.1-SNAPSHOT.jar"]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<name>giveaway.discord.bot</name>
<description>Discord Giveaway Bot</description>
<properties>
<java.version>20</java.version>
<java.version>21</java.version>
</properties>

<dependencies>
Expand Down

0 comments on commit 5b34cfb

Please sign in to comment.