You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
306 B
Docker

ARG NPM_IMAGE
ARG NPM_VERSION
FROM $NPM_IMAGE:$NPM_VERSION
ARG DOMAIN_NAME
ARG CA_HOSTNAME
ENV CA_FQDN=${CA_HOSTNAME}.${DOMAIN_NAME}
RUN echo -e "server=https://$CA_FQDN/acme/acme/directory\nno-verify-ssl = true" >> /etc/letsencrypt.ini
RUN sed -i "s\Let's Encrypt\\$CA_FQDN\g" /app/frontend/js/*.js