Skip to content

Commit

Permalink
/etc/ssl/dhparam.pem: copy it from a previous stage
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
macbre committed Oct 9, 2020
1 parent 0486c45 commit 383eb37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ COPY --from=0 /usr/lib/nginx/modules/*.so /usr/lib/nginx/modules/
COPY --from=0 /usr/sbin/nginx /usr/sbin/nginx-debug /usr/sbin/
COPY --from=0 /usr/share/nginx/html/* /usr/share/nginx/html/
COPY --from=0 /usr/bin/envsubst /usr/local/bin/envsubst
COPY --from=0 /etc/ssl/dhparam.pem /etc/ssl/dhparam.pem

RUN \
addgroup -S nginx \
Expand Down

0 comments on commit 383eb37

Please sign in to comment.