add do-not-prune lable to image rather than container

This commit is contained in:
Collin M. Barrett 2019-06-29 13:00:19 -05:00
parent 91b73bed76
commit 368fd93182
2 changed files with 1 additions and 2 deletions

View file

@ -66,8 +66,6 @@ services:
- archives:/app/archives
environment:
ApplicationInsights__InstrumentationKey: ${FILTERLISTS_AGENT_APPLICATION_INSIGHTS_INSTRUMENTATION_KEY}
labels:
do-not-prune:
networks:
reverse-proxy:

View file

@ -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