|
56 | 56 | cd src/ContentProcessor |
57 | 57 | IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessor:${TAG}" |
58 | 58 | echo "Using image name: ${IMAGE_NAME}" |
59 | | - docker build -t ${IMAGE_NAME} -f .devcontainer/Dockerfile . |
| 59 | + # Use the Dockerfile from the root folder of ContentProcessor |
| 60 | + docker build -t ${IMAGE_NAME} -f Dockerfile . |
60 | 61 | if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then |
61 | 62 | docker push ${IMAGE_NAME} |
62 | 63 | echo "ContentProcessor image built and pushed successfully." |
|
69 | 70 | cd src/ContentProcessorAPI |
70 | 71 | IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessorapi:${TAG}" |
71 | 72 | echo "Using image name: ${IMAGE_NAME}" |
72 | | - docker build -t ${IMAGE_NAME} -f .devcontainer/Dockerfile . |
| 73 | + # Use the Dockerfile from the root folder of ContentProcessorAPI |
| 74 | + docker build -t ${IMAGE_NAME} -f Dockerfile . |
73 | 75 | if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then |
74 | 76 | docker push ${IMAGE_NAME} |
75 | 77 | echo "ContentProcessorAPI image built and pushed successfully." |
|
82 | 84 | cd src/ContentProcessorWeb |
83 | 85 | IMAGE_NAME="$ACR_LOGIN_SERVER/contentprocessorweb:${TAG}" |
84 | 86 | echo "Using image name: ${IMAGE_NAME}" |
85 | | - docker build -t ${IMAGE_NAME} -f .devcontainer/base.Dockerfile . |
| 87 | + # Use the Dockerfile from the root folder of ContentProcessorWeb |
| 88 | + docker build -t ${IMAGE_NAME} -f Dockerfile . |
86 | 89 | if [[ "${TAG}" == latest-* || "${TAG}" == dev-* || "${TAG}" == demo-* || "${TAG}" == hotfix-* ]]; then |
87 | 90 | docker push ${IMAGE_NAME} |
88 | 91 | echo "ContentProcessorWeb image built and pushed successfully." |
|
0 commit comments