copy data into vs debug container

This commit is contained in:
Collin M. Barrett 2020-02-08 19:00:32 -06:00
parent 978d0f97ff
commit 637c714867
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Context: .
# Command: docker build -f server/src/FilterLists.Agent/Dockerfile .
# init vs debug base
# init base debug (for VS)
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim AS base
WORKDIR /app

View file

@ -1,15 +1,16 @@
# Context: .
# Command: docker build -f server/src/FilterLists.Api/Dockerfile .
# init vs debug base
# init base debug (for VS)
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
EXPOSE 80
COPY data/. data/
WORKDIR /app
# init base-prod
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1-alpine as base-prod
EXPOSE 80
ENTRYPOINT ["./FilterLists.Api"]
EXPOSE 80
COPY data/. data/
WORKDIR /app