Skip to content

Commit 383eb37

Browse files
author
macbre
committed
/etc/ssl/dhparam.pem: copy it from a previous stage
nginx_1 | nginx: [emerg] BIO_new_file("/etc/ssl/dhparam.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/dhparam.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
1 parent 0486c45 commit 383eb37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ COPY --from=0 /usr/lib/nginx/modules/*.so /usr/lib/nginx/modules/
154154
COPY --from=0 /usr/sbin/nginx /usr/sbin/nginx-debug /usr/sbin/
155155
COPY --from=0 /usr/share/nginx/html/* /usr/share/nginx/html/
156156
COPY --from=0 /usr/bin/envsubst /usr/local/bin/envsubst
157+
COPY --from=0 /etc/ssl/dhparam.pem /etc/ssl/dhparam.pem
157158

158159
RUN \
159160
addgroup -S nginx \

0 commit comments

Comments
 (0)