-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SaravanaPriya31
authored and
SaravanaPriya31
committed
Jan 24, 2024
1 parent
b3033fa
commit f23ee92
Showing
28 changed files
with
724 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base | ||
RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so | ||
|
||
# install System.Drawing native dependencies | ||
RUN apt-get update && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev libx11-dev | ||
RUN ln -s libgdiplus.so gdiplus.dll | ||
|
||
WORKDIR /app | ||
EXPOSE 80 | ||
EXPOSE 443 | ||
ENV SYNCFUSION_LICENSE_KEY="" | ||
ENV DOCUMENT_SLIDING_EXPIRATION_TIME="10" | ||
ENV REDIS_CACHE_CONNECTION_STRING="" | ||
ENV DOCUMENT_PATH="" | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | ||
WORKDIR /source | ||
COPY ["PdfViewer-Server-Net80/ej2-pdfviewer-server/ej2-pdfviewer-server-net80.csproj", "./ej2-pdfviewer-server/ej2-pdfviewer-server-net80.csproj"] | ||
RUN dotnet restore "./ej2-pdfviewer-server/ej2-pdfviewer-server-net80.csproj" | ||
COPY . . | ||
WORKDIR "/source/PdfViewer-Server-Net80" | ||
RUN dotnet build -c Release -o /app | ||
|
||
FROM build AS publish | ||
RUN dotnet publish -c Release -o /app | ||
|
||
FROM base AS final | ||
WORKDIR /app | ||
COPY --from=publish /app . | ||
ENTRYPOINT ["dotnet", "ej2-pdfviewer-server-net80.dll"] | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.8.34219.65 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ej2-pdfviewer-server-net80", "ej2-pdfviewer-server\ej2-pdfviewer-server-net80.csproj", "{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
Release-Xml|Any CPU = Release-Xml|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Release-Xml|Any CPU.ActiveCfg = Release|Any CPU | ||
{46A9A5A2-528C-4237-A072-4F2D10D2AD3C}.Release-Xml|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {41CFE68F-1559-45EF-A600-C56DCE8C33FA} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.