Skip to content

Commit 54cbc42

Browse files
author
Jean-Philippe Tissot
committed
chore: move Dockerfile inside cms project
1 parent 7e4892d commit 54cbc42

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

.github/workflows/master-deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
password: ${{ secrets.REGISTRY_PASSWORD }}
4141
# Container build and push to a Azure Container registry (ACR)
4242
- run: |
43+
cd src/StatCan.OrchardCore.Cms.Web
4344
docker build -f Dockerfile -t ${{ env.REGISTRY_NAME }}.azurecr.io/statcan-orchardcore:${{ env.BUILD_NUMBER }} .
4445
docker push ${{ env.REGISTRY_NAME }}.azurecr.io/statcan-orchardcore:${{ env.BUILD_NUMBER }}
4546
# Set the target Azure Kubernetes Service (AKS) cluster.

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
password: ${{ secrets.REGISTRY_PASSWORD }}
4141
# Container build and push to a Azure Container registry (ACR)
4242
- run: |
43+
cd src/StatCan.OrchardCore.Cms.Web
4344
docker build -f Dockerfile -t ${{ env.REGISTRY_NAME }}.azurecr.io/statcan-orchardcore:${{ env.BUILD_NUMBER }} .
4445
docker push ${{ env.REGISTRY_NAME }}.azurecr.io/statcan-orchardcore:${{ env.BUILD_NUMBER }}
4546
# Set the target Azure Kubernetes Service (AKS) cluster.

.dockerignore renamed to src/StatCan.OrchardCore.Cms.Web/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
*/*
33

44
#except release
5-
!/src/StatCan.OrchardCore.Cms.Web/.build/release/*
5+
!/.build/release/*
66
!docker_run.sh

Dockerfile renamed to src/StatCan.OrchardCore.Cms.Web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ EXPOSE 80
44
WORKDIR /app
55
COPY ./docker_run.sh ./docker_run.sh
66
RUN chmod +x docker_run.sh
7-
COPY ./src/StatCan.OrchardCore.Cms.Web/.build/release .
7+
COPY ./.build/release .
88

99
ENTRYPOINT ["./docker_run.sh"]
File renamed without changes.

0 commit comments

Comments
 (0)