Skip to content

Commit

Permalink
Adds exposed port to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
appiepollo14 committed Nov 5, 2023
1 parent 999d7ab commit f7a5b78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions sample-apps/jaxrs-json/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/dropins/
EXPOSE 9080

# Wildfly
#FROM jboss/wildfly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class JaxrsJsonIT {

@Container
public static ApplicationContainer app = new ApplicationContainer()
.withExposedPorts(9080)
.withAppContextRoot("/myservice")
.withReadinessPath("/myservice/app/people");

Expand Down

0 comments on commit f7a5b78

Please sign in to comment.