Add EXPOSE directives

This commit is contained in:
Liam Westby 2018-09-28 10:08:16 -05:00
parent a86799665b
commit 19a0f8ef4c
4 changed files with 10 additions and 2 deletions

View File

@ -6,3 +6,5 @@ auth_url=https://lb-auth:8082/auth-service\
" > wlp/usr/servers/auth-service/server.env
RUN mv wlp/usr/servers/auth-service/* /config/
RUN rm -rf wlp/
EXPOSE 8082

View File

@ -2,4 +2,6 @@ FROM websphere-liberty:beta
ADD build/libs/frontend.zip /
RUN unzip frontend.zip
RUN mv wlp/usr/servers/frontendServer/* /config/
RUN rm -rf wlp/
RUN rm -rf wlp/
EXPOSE 12000

View File

@ -4,4 +4,6 @@ RUN unzip game-service.zip
RUN echo "-Dorg.libertybikes.restclient.PlayerService/mp-rest/url=\
http://lb-player:8081/" > wlp/usr/servers/game-service/jvm.options
RUN mv wlp/usr/servers/game-service/* /config/
RUN rm -rf wlp/
RUN rm -rf wlp/
EXPOSE 8080

View File

@ -3,3 +3,5 @@ ADD build/libs/player-service.zip /
RUN unzip player-service.zip
RUN mv wlp/usr/servers/player-service/* /config/
RUN rm -rf wlp/
EXPOSE 8081