Skip to content

Commit a0d7795

Browse files
committed
980096: Added proper details.
1 parent 9ddd9f5 commit a0d7795

File tree

1 file changed

+6
-6
lines changed
  • OCR/.NET/OCR-with-Tesseract-in-Docker-on-Linux/OCR-with-Tesseract-in-Docker-on-Linux

1 file changed

+6
-6
lines changed

OCR/.NET/OCR-with-Tesseract-in-Docker-on-Linux/OCR-with-Tesseract-in-Docker-on-Linux/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ WORKDIR /app
1111
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1212
ARG BUILD_CONFIGURATION=Release
1313
WORKDIR /src
14-
COPY ["Offline-Tesseract-OCR-Integration/Offline-Tesseract-OCR-Integration.csproj", "Offline-Tesseract-OCR-Integration/"]
15-
RUN dotnet restore "./Offline-Tesseract-OCR-Integration/Offline-Tesseract-OCR-Integration.csproj"
14+
COPY ["OCR-with-Tesseract-in-Docker-on-Linux/OCR-with-Tesseract-in-Docker-on-Linux.csproj", "OCR-with-Tesseract-in-Docker-on-Linux/"]
15+
RUN dotnet restore "./OCR-with-Tesseract-in-Docker-on-Linux/OCR-with-Tesseract-in-Docker-on-Linux.csproj"
1616
COPY . .
17-
WORKDIR "/src/Offline-Tesseract-OCR-Integration"
18-
RUN dotnet build "./Offline-Tesseract-OCR-Integration.csproj" -c $BUILD_CONFIGURATION -o /app/build
17+
WORKDIR "/src/OCR-with-Tesseract-in-Docker-on-Linux"
18+
RUN dotnet build "./OCR-with-Tesseract-in-Docker-on-Linux.csproj" -c $BUILD_CONFIGURATION -o /app/build
1919

2020
# This stage is used to publish the service project to be copied to the final stage
2121
FROM build AS publish
2222
ARG BUILD_CONFIGURATION=Release
23-
RUN dotnet publish "./Offline-Tesseract-OCR-Integration.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
23+
RUN dotnet publish "./OCR-with-Tesseract-in-Docker-on-Linux.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
2424

2525
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
2626
FROM base AS final
2727
WORKDIR /app
2828
COPY --from=publish /app/publish .
29-
ENTRYPOINT ["dotnet", "Offline-Tesseract-OCR-Integration.dll"]
29+
ENTRYPOINT ["dotnet", "OCR-with-Tesseract-in-Docker-on-Linux.dll"]

0 commit comments

Comments
 (0)