diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index e000d6d..0000000 --- a/.dockerignore +++ /dev/null @@ -1,25 +0,0 @@ -**/.classpath -**/.dockerignore -**/.env -**/.git -**/.gitignore -**/.project -**/.settings -**/.toolstarget -**/.vs -**/.vscode -**/*.*proj.user -**/*.dbmdl -**/*.jfm -**/azds.yaml -**/Dockerfile -**/bin -**/charts -**/docker-compose* -**/node_modules -**/npm-debug.log -**/obj -**/secrets.dev.yaml -**/values.dev.yaml -LICENSE -README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 87cca07..0000000 --- a/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. - -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base -WORKDIR /app -EXPOSE 80 -EXPOSE 443 - -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build -WORKDIR /src -COPY ["WebApiLol/WebApiLol.csproj", "WebApiLol/"] -RUN dotnet restore "WebApiLol/WebApiLol.csproj" -COPY . . -WORKDIR "/src/WebApiLol" -RUN dotnet build "WebApiLol.csproj" -c Release -o /app/build - -FROM build AS publish -RUN dotnet publish "WebApiLol.csproj" -c Release -o /app/publish /p:UseAppHost=false - -FROM base AS final -WORKDIR /app -COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "WebApiLol.dll"] diff --git a/docker-compose.dcproj b/docker-compose.dcproj deleted file mode 100644 index 7b6f00e..0000000 --- a/docker-compose.dcproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - 2.1 - Linux - - - - docker-compose.yml - - - - - diff --git a/docker-compose.override.yml b/docker-compose.override.yml deleted file mode 100644 index 02a4c75..0000000 --- a/docker-compose.override.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: '3.4' - -services: - webapilol: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=https://+:443;http://+:80 - ports: - - "80" - - "443" - volumes: - - ~/.aspnet/https:/root/.aspnet/https:ro - - ~/.microsoft/usersecrets:/root/.microsoft/usersecrets:ro \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 80abb88..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: '3.4' - -services: - webapilol: - image: ${DOCKER_REGISTRY-}webapilol - build: - context: . - dockerfile: WebApiLol/Dockerfile