mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
mv data dir one level up in runtime container so it isn't overwritten by VS debugger volume mount
This commit is contained in:
parent
22a1e49110
commit
e96edc0037
2 changed files with 2 additions and 2 deletions
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
# init base
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["dotnet", "FilterLists.Api.dll"]
|
||||
COPY data/. data/
|
||||
WORKDIR /app
|
||||
|
||||
# init build
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace FilterLists.Api
|
|||
{
|
||||
public static class Program
|
||||
{
|
||||
private const string DataPath = "data";
|
||||
private const string DataPath = "../data";
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue