Skip to content

Commit

Permalink
KTOR-6176 Fix wrong port syntax in Dockerfile (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnikolova authored Nov 26, 2024
1 parent 30113b0 commit cf439e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN gradle buildFatJar --no-daemon

# Stage 3: Create the Runtime Image
FROM amazoncorretto:22 AS runtime
EXPOSE 8080:8080
EXPOSE 8080 8080
RUN mkdir /app
COPY --from=build /home/gradle/src/build/libs/*.jar /app/ktor-docker-sample.jar
ENTRYPOINT ["java","-jar","/app/ktor-docker-sample.jar"]

0 comments on commit cf439e1

Please sign in to comment.