Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

multiple docker containers

Sarath September 1, 2020

Hi,

I am using docker file to with below commands in bitbucket repo.

FROM openjdk:8-jdk-alpine

RUN addgroup -S xxxxx && adduser -S xxxxx -G xxxxx

USER xxxxx:xxxxx

ARG JAR_FILE=target/*.jar

COPY ${JAR_FILE} app.jar

ENTRYPOINT ["java","-jar", "-Dspring.profiles.active=${ENV}","app.jar"]

Using the .yml file building the image and pushing it to ECR and ECS.
Similarly can I use the multiple docker files to create the multiple docker containers and push them to  ECS containers. This all should be in the single build. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events