Commit 12bdca85 authored by mohahmed's avatar mohahmed

Added docker-compose and Dockerfile in pricing pod

parent c7bf858b
Pipeline #2749 canceled with stage
FROM openjdk:11-jdk-slim as build
#Information around who maintains the image
MAINTAINER nisum.com
# Add the application's jar to the container
ADD build/libs/pricing-pod-poc-0.0.1-SNAPSHOT.jar pricing-pod-poc-0.0.1-SNAPSHOT.jar
#execute the application
ENTRYPOINT ["java","-jar","/pricing-pod-poc-0.0.1-SNAPSHOT.jar"]
\ No newline at end of file
version: "1"
services:
mongodb:
image: mongo:latest
ports:
- 27071:27071
pricing-pod-poc:
image: imitiyaz/pricing-pod-poc:latest
ports:
- 9999:9999
links:
- mongodb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment