We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2313df commit 2d9dd79Copy full SHA for 2d9dd79
Api.dockerfile
@@ -45,9 +45,15 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
45
46
# Use the default non-root user for the app.
47
# This instruction must appear after all other instructions that require elevated access.
48
+RUN mkdir -p /app
49
+RUN chmod 777 /app
50
USER $APP_UID
51
52
WORKDIR /opt/app/
53
COPY --from=build /tmp/app/src/Api/bin/publish ./
54
55
+ENV MAIL__FROM="[email protected]"
56
+ENV MAIL__PROVIDERS__0__NAME="file"
57
+ENV MAIL__PROVIDERS__0__PATH="/app/mail.md"
58
+
59
ENTRYPOINT ["./Passwordless.Api"]
0 commit comments