mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-29 01:04:56 +08:00
chore: update architecture root names
This commit is contained in:
parent
19ed23482e
commit
8abd53e02f
@ -7,23 +7,23 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
COPY ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
RUN dotnet restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
COPY ./3-microservices-architecture-style/src/ApiGateway/src ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/ApiGateway/src
|
WORKDIR /3-microservices-architecture-style/src/ApiGateway/src
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -33,7 +33,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/ApiGateway/src/out .
|
COPY --from=builder /3-microservices-architecture-style/src/ApiGateway/src/out .
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
ENV ASPNETCORE_ENVIRONMENT docker
|
ENV ASPNETCORE_ENVIRONMENT docker
|
||||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
COPY ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
||||||
dotnet restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
dotnet restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
COPY ./3-microservices-architecture-style/src/ApiGateway/src ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
||||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/ApiGateway/src
|
WORKDIR /3-microservices-architecture-style/src/ApiGateway/src
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -36,7 +36,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/ApiGateway/src/out .
|
COPY --from=builder /3-microservices-architecture-style/src/ApiGateway/src/out .
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
ENV ASPNETCORE_ENVIRONMENT docker
|
ENV ASPNETCORE_ENVIRONMENT docker
|
||||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/Booking.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/Booking.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
RUN dotnet restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api
|
WORKDIR /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -35,7 +35,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/out .
|
COPY --from=builder /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/out .
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
ENV ASPNETCORE_ENVIRONMENT docker
|
ENV ASPNETCORE_ENVIRONMENT docker
|
||||||
@ -7,27 +7,27 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/Booking.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/Booking.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages \
|
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages \
|
||||||
dotnet restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
dotnet restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages\
|
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages\
|
||||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api
|
WORKDIR /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -38,7 +38,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/out .
|
COPY --from=builder /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/out .
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
ENV ASPNETCORE_ENVIRONMENT docker
|
ENV ASPNETCORE_ENVIRONMENT docker
|
||||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/Flight.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/Flight.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
RUN dotnet restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api
|
WORKDIR /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -35,7 +35,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/out .
|
COPY --from=builder /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/out .
|
||||||
|
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
@ -7,27 +7,27 @@ COPY ./Directory.Build.props ./
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/Flight.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/Flight.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||||
|
|
||||||
|
|
||||||
# Restore nuget packages
|
# Restore nuget packages
|
||||||
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
||||||
dotnet restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
dotnet restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||||
COPY .3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
COPY .3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||||
|
|
||||||
# Build project with Release configuration
|
# Build project with Release configuration
|
||||||
# and no restore, as we did it already
|
# and no restore, as we did it already
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
||||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||||
|
|
||||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api
|
WORKDIR /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api
|
||||||
|
|
||||||
# Publish project to output folder
|
# Publish project to output folder
|
||||||
# and no build, as we did it already
|
# and no build, as we did it already
|
||||||
@ -38,7 +38,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
|||||||
|
|
||||||
# Setup working directory for the project
|
# Setup working directory for the project
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/out .
|
COPY --from=builder /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/out .
|
||||||
|
|
||||||
|
|
||||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user