From e0fb8172562af4654aef130b825ce9b8affa9040 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 20 Jun 2023 23:26:49 +0200 Subject: [PATCH] Changed glax/tranga-base to latest --- API/Dockerfile | 2 +- Dockerfile | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 Dockerfile diff --git a/API/Dockerfile b/API/Dockerfile index 77ee58a..d594485 100644 --- a/API/Dockerfile +++ b/API/Dockerfile @@ -6,7 +6,7 @@ COPY . /src/ RUN dotnet restore API/API.csproj RUN dotnet publish -c Release -o /publish -FROM glax/tranga-base:dev as runtime +FROM glax/tranga-base:latest as runtime WORKDIR /publish COPY --from=build-env /publish . EXPOSE 6531 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b4fea12..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -# syntax=docker/dockerfile:1 - -FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env -WORKDIR /src -COPY . /src/ -RUN dotnet restore Tranga-API/Tranga-API.csproj -RUN dotnet publish -c Release -o /publish - -#FROM mcr.microsoft.com/dotnet/aspnet:7.0 as runtime -FROM glax/tranga-base:latest as runtime -WORKDIR /publish -COPY --from=build-env /publish . -EXPOSE 80 -ENTRYPOINT ["dotnet", "/publish/Tranga-API.dll"]