[Dockerfile] Add custom config location (#2098)

This commit is contained in:
Bockiii 2021-09-05 05:10:54 +02:00 committed by GitHub
parent bcc15228d8
commit 455b5e09a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 1 deletions

View file

@ -34,4 +34,6 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&& sed -ri -e 's/(MinProtocol\s*=\s*)TLSv1\.2/\1None/' /etc/ssl/openssl.cnf \
&& sed -ri -e 's/(CipherString\s*=\s*DEFAULT)@SECLEVEL=2/\1/' /etc/ssl/openssl.cnf
COPY --chown=www-data:www-data ./ /app/
COPY --chown=www-data:www-data ./ /app/
CMD ["/app/docker-entrypoint.sh"]