update dockerfiles

This commit is contained in:
Collin M. Barrett 2019-10-01 14:20:07 -05:00
parent 7a3114349f
commit cdeb6476b9
2 changed files with 4 additions and 4 deletions

View file

@ -2,12 +2,12 @@
# Command: docker build -f src/FilterLists.Agent/Dockerfile .
# init base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:2.2-alpine as base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.0-alpine as base
ENTRYPOINT ["./FilterLists.Agent"]
WORKDIR /app
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-alpine AS build
# restore
WORKDIR /app/src/FilterLists.Agent

View file

@ -2,14 +2,14 @@
# Command: docker build -f src/FilterLists.Api/Dockerfile .
# init base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:2.2-alpine as base
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.0-alpine as base
EXPOSE 80
ENTRYPOINT ["./FilterLists.Api"]
COPY data/. data/
WORKDIR /app
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-alpine AS build
# restore
WORKDIR /app/src