Spring Boot new version not getting deployed

shreejith
HOBBY

18 days ago

Hi,

I have a spring boot applciation.
I am using Java 21.

I faced issues with Java 21 on raiwlay so used a Docker file

--------------------------------------------------------------------------------

FROM eclipse-temurin:21-jdk-alpine as build # Install Maven and bash RUN apk add --no-cache maven bash WORKDIR /app # Copy all project files COPY . ./ # Build the application RUN mvn clean package -DskipTests # Runtime image FROM eclipse-temurin:21-jre-alpine WORKDIR /app # Copy the JAR COPY --from=build /app/target/*.jar app.jar # Set the Spring profile to "test" ENV SPRING_PROFILES_ACTIVE=test # Run the app CMD ["java", "-jar", "app.jar"]

---------------------------------------------------------------------------------

Now the build is showing as success but my new changes are not reflecting.

Please suggest.

$10 Bounty

2 Replies

Railway
BOT

18 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


shreejith
HOBBY

18 days ago

Still need help


Spring Boot new version not getting deployed - Railway Help Station