mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
update dockerfiles
This commit is contained in:
parent
7a3114349f
commit
cdeb6476b9
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue