mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
copy data into vs debug container
This commit is contained in:
parent
978d0f97ff
commit
637c714867
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue