???: did some docker stuff. The Project can run, but the db needs to be linked from outside, or it does not work.
This commit is contained in:
parent
db1d4822d4
commit
f0fbb11824
4 changed files with 13 additions and 4 deletions
|
@ -16,6 +16,4 @@ RUN dotnet publish "ImageBoardServerApp/ImageBoardServerApp.csproj" -c Release -
|
|||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
RUN dotnet tool install --global dotnet-ef
|
||||
RUN dotnet ef database update
|
||||
ENTRYPOINT ["dotnet", "ImageBoardServerApp.dll"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue