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.