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
11
11
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
12
12
ARG BUILD_CONFIGURATION=Release
13
13
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"
16
16
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
19
19
20
20
# This stage is used to publish the service project to be copied to the final stage
21
21
FROM build AS publish
22
22
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
24
24
25
25
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
26
26
FROM base AS final
27
27
WORKDIR /app
28
28
COPY --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