correccion de Dockerfile
This commit is contained in:
@@ -13,15 +13,15 @@ WORKDIR /src
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Restaurar y compilar
|
# Restaurar y compilar
|
||||||
RUN dotnet restore "Rs_system.csproj"
|
RUN dotnet restore "RS_system.csproj"
|
||||||
RUN dotnet build "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
RUN dotnet build "RS_system.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
|
||||||
# Publish
|
# Publish
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "RS_system.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||||
|
|
||||||
# Final
|
# Final
|
||||||
FROM base AS final
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
ENTRYPOINT ["dotnet", "Rs_system.dll"]
|
ENTRYPOINT ["dotnet", "RS_system.dll"]
|
||||||
|
|||||||
Reference in New Issue
Block a user