JavaScript
- 1 ответ
- 0 вопросов
1
Вклад в тег
FROM nginx:1.21
COPY nginx/bin/40-ssl-decoding.sh /docker-entrypoint.d/
RUN chmod +x /docker-entrypoint.d/40-ssl-decoding.sh
#!/bin/sh
echo "Decoding SSL certs...";
echo $SSL_KEY | base64 -d >> /etc/ssl/ssl.key;
echo $SSL_CRT | base64 -d >> /etc/ssl/ssl.crt;
echo "SSL certs decoded!";
const exported = require('./index');
async function fun() {
exported([1]);
}