mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add named final stage to target
This commit is contained in:
parent
7e55ed33bc
commit
b74dcdd956
2 changed files with 2 additions and 2 deletions
|
|
@ -46,6 +46,6 @@ RUN dotnet build -c Release --no-restore
|
|||
ENTRYPOINT ["dotnet", "test"]
|
||||
|
||||
# run
|
||||
FROM runtime
|
||||
FROM runtime as final
|
||||
COPY --from=build /src/FilterLists.Api/out ./
|
||||
COPY data/. ./data/
|
||||
|
|
|
|||
|
|
@ -24,6 +24,6 @@ COPY src/FilterLists.Web/. ./
|
|||
RUN dotnet publish -c Release -o out --no-restore
|
||||
|
||||
# run
|
||||
FROM runtime
|
||||
FROM runtime as final
|
||||
COPY --from=build /src/FilterLists.Web/out ./
|
||||
|
||||
Loading…
Reference in a new issue