From 58e6ad680f1ecc6bae4c910f8e1f8472fbcfe2a3 Mon Sep 17 00:00:00 2001 From: Refactorian Date: Sat, 2 Mar 2024 06:11:17 +0900 Subject: [PATCH] Update (#27) --- .docker/php/Dockerfile | 4 ++-- .npmrc | 48 ++++++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 1 + 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.docker/php/Dockerfile b/.docker/php/Dockerfile index a6ac55a..ac2ea76 100644 --- a/.docker/php/Dockerfile +++ b/.docker/php/Dockerfile @@ -9,8 +9,8 @@ RUN apt-get update \ && docker-php-ext-install zip pdo_mysql pdo_pgsql pgsql RUN apt-get install -y libicu-dev \ -&& docker-php-ext-configure intl \ -&& docker-php-ext-install intl + && docker-php-ext-configure intl \ + && docker-php-ext-install intl # pcov RUN pecl install pcov && docker-php-ext-enable pcov diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..c09e9ec --- /dev/null +++ b/.npmrc @@ -0,0 +1,48 @@ +# # Set the registry to your Artifactory registry over HTTPS +# registry=https://your-artifactory-url/npm/repository/npm-group/ + +# # Specify the CA file for HTTPS requests (replace /path/to/your/cafile.pem with the actual path) +# cafile=/path/to/your/cafile.pem + +# # Specify authentication details (replace placeholders with your actual credentials) +# //your-artifactory-url/npm/repository/npm-group/:_authToken=your-auth-token + +# # Other configuration options +# progress=false +# loglevel=info + +# # Set a custom cache directory for npm packages +# cache=/path/to/your/npm-cache + +# # Specify the location for storing global npm packages +# prefix=/path/to/global/npm-packages + +# # Use a specific Node.js version +# engine-strict=true +# engine-0.12=false +# engine-4=true + +# # Disable package-lock creation +# package-lock=false + +# # Use a custom user-agent string +# user-agent=my-custom-user-agent + +# # Set the default script to run on "npm start" +# start=custom-start-script + +# # Disable SSL for a specific registry (if needed) +# registry=http://insecure-registry-url/ + +# # Set proxy configurations +# proxy=http://proxy.example.com:8080/ +# https-proxy=http://proxy.example.com:8080/ + +# # Ignore SSL errors +# strict-ssl=false + +# # Set the timeout for HTTP requests +# timeout=60000 + +# # Set the number of concurrent connections +# maxsockets=8 diff --git a/docker-compose.yml b/docker-compose.yml index 053cc5a..58445be 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ services: - 5173:5173 volumes: - .:/var/www:cached + - .npmrc:/var/www/.npmrc #################################################################################################### # Nginx