Added ENV Vars for the DB Connection to the Docker part

This commit is contained in:
Niggl1999 committed 2020-06-04 09:53:10 +02:00
1 parent f87585c224
commit 9ba9692f05
2 files changed
+13

No files matched your search

+8
View File
@@ -10,4 +10,12 @@ RUN dotnet publish -c Release -o /app
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS final
WORKDIR /app
COPY --from=build /app .
## Intruduce all the ENV vars
ENV DATABASE_HOST null
ENV DATABASE_PORT 5432
ENV DATABASE_NAME null
ENV DATABASE_USER null
ENV DATABASE_PASSWORD null
ENTRYPOINT ["dotnet", "ScrumTaskboard.dll"]