Skip to content

Commit

Permalink
SSL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Terje Olsøybakk committed Nov 18, 2021
1 parent d05d138 commit 5e32c9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
WORKDIR /app
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /usr/lib/ssl/openssl.cnf
EXPOSE 8000
ENV ASPNETCORE_URLS="http://+:8000"

Expand Down

0 comments on commit 5e32c9b

Please sign in to comment.