Skip to content

Commit

Permalink
updated dockerFile for recommendationAlgo
Browse files Browse the repository at this point in the history
  • Loading branch information
Radoslav Radev committed Apr 3, 2024
1 parent b53b208 commit f2799d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Backend/RecommendationAlgo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ COPY ["RecomendationAlgo/RecomendationAlgo.csproj", "RecomendationAlgo/"]
RUN dotnet restore "RecomendationAlgo/RecomendationAlgo.csproj"
COPY . .
WORKDIR "/src/RecomendationAlgo"
RUN dotnet build "RecomendationAlgo.csproj" -c $BUILD_CONFIGURATION -o /app/build
RUN dotnet build "RecommendationAlgo.csproj" -c $BUILD_CONFIGURATION -o /app/build

FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "RecomendationAlgo.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
RUN dotnet publish "RecommendationAlgo.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false

FROM base AS final
ENV CONSUL_IP=consul-service
Expand Down

0 comments on commit f2799d5

Please sign in to comment.