File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ WORKDIR /app
1111FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1212ARG BUILD_CONFIGURATION=Release
1313WORKDIR /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"
1616COPY . .
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
2121FROM build AS publish
2222ARG 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)
2626FROM base AS final
2727WORKDIR /app
2828COPY --from=publish /app/publish .
29- ENTRYPOINT ["dotnet" , "Offline- Tesseract-OCR-Integration .dll" ]
29+ ENTRYPOINT ["dotnet" , "OCR-with- Tesseract-in-Docker-on-Linux .dll" ]
You can’t perform that action at this time.
0 commit comments