🗂️ refactor: organize Dockerfiles into docker/ directory and update all references
This commit is contained in:
@@ -109,7 +109,7 @@ jobs:
|
||||
|
||||
# Build the image using traditional docker build
|
||||
docker build \
|
||||
--file Dockerfile.build \
|
||||
--file docker/Dockerfile.build \
|
||||
--tag "$IMAGE_NAME" \
|
||||
.
|
||||
|
||||
@@ -232,7 +232,7 @@ jobs:
|
||||
echo "Using dependency hash: $DEPS_HASH"
|
||||
|
||||
# Create Dockerfile.prod with the correct cache image tag
|
||||
cat > Dockerfile.prod << EOF
|
||||
cat > docker/Dockerfile.prod << EOF
|
||||
# DanceLessonsCoach Production Docker Image
|
||||
# Generated by CI/CD pipeline with dependency hash: $DEPS_HASH
|
||||
|
||||
@@ -274,7 +274,7 @@ jobs:
|
||||
echo "Building Docker image with tags: $TAGS"
|
||||
|
||||
# Build the production image
|
||||
docker build -t dance-lessons-coach -f Dockerfile.prod .
|
||||
docker build -t dance-lessons-coach -f docker/Dockerfile.prod .
|
||||
|
||||
for TAG in $TAGS; do
|
||||
IMAGE_NAME="${{ env.CI_REGISTRY }}/${{ env.GITEA_ORG }}/${{ env.GITEA_REPO }}:$TAG"
|
||||
|
||||
Reference in New Issue
Block a user