chore: stop unnecessarily adding OpenSSL to LD_LIBRARY_PATH

This commit is contained in:
Matthew Lopez
2024-06-04 20:39:10 -04:00
committed by GitHub
parent 9c5089823f
commit bdb637ef70

View File

@@ -43,9 +43,8 @@ RUN mkdir -p /var/log/nginx
ARG nginx_dir
COPY --from=build ${nginx_dir} ${nginx_dir}
# * Set PATH to include custom OpenSSL and nginx
# * Set PATH to include custom nginx
ENV PATH="${nginx_dir}/sbin:${PATH}"
ENV LD_LIBRARY_PATH="${openssl_dir}/lib:${LD_LIBRARY_PATH}"
# * Copy the default nginx configuration
COPY nginx.default.conf /opt/nginx/conf/nginx.conf