diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 37ff91d..49d3ca3 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -40,7 +40,7 @@ jobs: run: | # Build the base image cd api - docker build . -f cloud/BaseImage.Dockerfile -t baseImage + docker build . -f cloud/BaseImage.Dockerfile -t base-image # Build a docker container from the base image # and push it to ECR so that it can diff --git a/api/cloud/Final.Dockerfile b/api/cloud/Final.Dockerfile index 592c3ad..adf6adc 100644 --- a/api/cloud/Final.Dockerfile +++ b/api/cloud/Final.Dockerfile @@ -1,6 +1,6 @@ ARG WORKDIR="/app" -FROM baseImage +FROM base-image ARG WORKDIR WORKDIR ${WORKDIR}