This commit is contained in:
+3
-5
@@ -56,11 +56,9 @@ RUN set -e && \
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
WORKDIR /certs
|
||||
RUN apt update && apt upgrade -y && \
|
||||
apt install -y openssl && \
|
||||
openssl genrsa -out private_key.pem 2048 && \
|
||||
openssl rsa -in private_key.pem -pubout -out public_key.pem
|
||||
WORKDIR /
|
||||
COPY cert-gen.sh /cert-gen.sh
|
||||
RUN chmod +x /cert-gen.sh
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user