Fix dockerfile and add exec perms to deploy script

This commit is contained in:
Reimar 2025-03-25 09:39:47 +01:00
parent be2a6c5d6f
commit b943ad5f97
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268
2 changed files with 3 additions and 1 deletions

View File

@ -22,4 +22,6 @@ RUN dotnet publish "./Api.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:Use
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Api.dll"]
RUN mkdir /app/db
RUN chmod 777 /app/db
ENTRYPOINT ["dotnet", "Api.dll"]

0
deploy.sh Normal file → Executable file
View File