diff --git a/docker-compose.yml b/docker-compose.yml index 74af22cdc..8284d3fb4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,8 +66,6 @@ services: - archives:/app/archives environment: ApplicationInsights__InstrumentationKey: ${FILTERLISTS_AGENT_APPLICATION_INSIGHTS_INSTRUMENTATION_KEY} - labels: - do-not-prune: networks: reverse-proxy: diff --git a/src/FilterLists.Agent/Dockerfile b/src/FilterLists.Agent/Dockerfile index a629232cd..8b1b84b19 100644 --- a/src/FilterLists.Agent/Dockerfile +++ b/src/FilterLists.Agent/Dockerfile @@ -4,6 +4,7 @@ # init base FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as base ENTRYPOINT ["dotnet", "FilterLists.Agent.dll"] +LABEL do-not-prune WORKDIR /app # init build