doc(Docker): update docker file
#Comment Add copy db/lic file
This commit is contained in:
parent
f7aea58873
commit
204a6f207e
|
@ -20,4 +20,6 @@ RUN dotnet publish "Bootstrap.Admin.csproj" -c Release -o /app
|
|||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app .
|
||||
COPY --from=build ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
||||
COPY --from=build ["/src/Scripts/Longbow.lic", "./Longbow.lic"]
|
||||
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
|
@ -17,4 +17,6 @@ RUN dotnet publish "Bootstrap.Admin.csproj" -c Release -o /app
|
|||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app .
|
||||
COPY --from=build ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
||||
COPY --from=build ["/src/Scripts/Longbow.lic", "./Longbow.lic"]
|
||||
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
Loading…
Reference in New Issue