Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Radoslav Radev committed Apr 4, 2024
2 parents 3815357 + 6af8ff6 commit 519a3d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Backend/RecommendationAlgo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["RecomendationAlgo/RecomendationAlgo.csproj", "RecomendationAlgo/"]
RUN dotnet restore "RecomendationAlgo/RecommendationAlgo.csproj"
COPY ["RecommendationAlgo/RecommendationAlgo.csproj", "RecommendationAlgo/"]
RUN dotnet restore "RecommendationAlgo/RecommendationAlgo.csproj"
COPY . .
WORKDIR "/src/RecomendationAlgo"
WORKDIR "/src/RecommendationAlgo"
RUN dotnet build "RecommendationAlgo.csproj" -c $BUILD_CONFIGURATION -o /app/build

FROM build AS publish
Expand All @@ -22,4 +22,4 @@ FROM base AS final
ENV CONSUL_IP=consul-service
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "RecomendationAlgo.dll"]
ENTRYPOINT ["dotnet", "RecommendationAlgo.dll"]

0 comments on commit 519a3d4

Please sign in to comment.