removes docker support

This commit is contained in:
Philipp Häfelfinger 2023-09-10 23:11:51 +02:00
parent 44809f4012
commit 70af13e416
2 changed files with 0 additions and 43 deletions

View File

@ -1,25 +0,0 @@
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/.idea
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md

View File

@ -1,18 +0,0 @@
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base
WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["PiwigoDirectorySync/PiwigoDirectorySync.csproj", "PiwigoDirectorySync/"]
RUN dotnet restore "PiwigoDirectorySync/PiwigoDirectorySync.csproj"
COPY . .
WORKDIR "/src/PiwigoDirectorySync"
RUN dotnet build "PiwigoDirectorySync.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "PiwigoDirectorySync.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "PiwigoDirectorySync.dll"]