Skip to content

Commit

Permalink
Merge pull request #305 from meysamhadeli/chore/update-dockerfiles-fo…
Browse files Browse the repository at this point in the history
…r-root-directory-files

chore: update docker files for root directory files
  • Loading branch information
meysamhadeli authored Sep 16, 2024
2 parents 15af03d + 9342804 commit b6dc2c5
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ApiGateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ RUN dotnet restore ./ApiGateway/src/ApiGateway.csproj
COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/ApiGateway/src ./ApiGateway/src/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/ApiGateway/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/ApiGateway/src ./ApiGateway/src/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Booking/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Booking/src/Booking/ ./Services/Booking/src/Booking/
COPY ./src/Services/Booking/src/Booking.Api/ ./Services/Booking/src/Booking.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Booking/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Booking/src/Booking/ ./Services/Booking/src/Booking/
COPY ./src/Services/Booking/src/Booking.Api/ ./Services/Booking/src/Booking.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Flight/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Flight/src/Flight/ ./Services/Flight/src/Flight/
COPY ./src/Services/Flight/src/Flight.Api/ ./Services/Flight/src/Flight.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Flight/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Flight/src/Flight/ ./Services/Flight/src/Flight/
COPY ./src/Services/Flight/src/Flight.Api/ ./Services/Flight/src/Flight.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Identity/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Identity/src/Identity/ ./Services/Identity/src/Identity/
COPY ./src/Services/Identity/src/Identity.Api/ ./Services/Identity/src/Identity.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Identity/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Identity/src/Identity/ ./Services/Identity/src/Identity/
COPY ./src/Services/Identity/src/Identity.Api/ ./Services/Identity/src/Identity.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Passenger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Passenger/src/Passenger/ ./Services/Passenger/src/Passenger/
COPY ./src/Services/Passenger/src/Passenger.Api/ ./Services/Passenger/src/Passenger.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down
4 changes: 4 additions & 0 deletions src/Services/Passenger/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ COPY ./src/BuildingBlocks ./BuildingBlocks/
COPY ./src/Services/Passenger/src/Passenger/ ./Services/Passenger/src/Passenger/
COPY ./src/Services/Passenger/src/Passenger.Api/ ./Services/Passenger/src/Passenger.Api/

COPY ./.editorconfig ./
COPY ./global.json ./
COPY ./Directory.Build.props ./

# Build project with Release configuration
# and no restore, as we did it already

Expand Down

0 comments on commit b6dc2c5

Please sign in to comment.