Various little fixes and improvements
This commit is contained in:
parent
a9a0f2f413
commit
45004444e6
@ -1,2 +1 @@
|
||||
XDEBUG_CONFIG=remote_host=172.17.0.1 remote_port=9001
|
||||
PHP_IDE_CONFIG=serverName=czydojade
|
||||
|
@ -1,5 +1,7 @@
|
||||
FROM php:7.3-fpm
|
||||
|
||||
ARG XDEBUG_REMOTE_HOST="172.17.0.1"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends git zip libzip-dev
|
||||
|
||||
@ -7,7 +9,8 @@ RUN docker-php-ext-install zip
|
||||
|
||||
RUN pecl install xdebug-2.9.0 && docker-php-ext-enable xdebug
|
||||
|
||||
RUN echo "xdebug.remote_enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini;
|
||||
RUN echo "xdebug.remote_enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
|
||||
echo "xdebug.remote_host = ${XDEBUG_REMOTE_HOST}" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini;
|
||||
RUN echo "date.timezone = Europe/Warsaw" >> /usr/local/etc/php/conf.d/datetime.ini;
|
||||
|
||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
|
@ -66,8 +66,11 @@ const config = {
|
||||
new GenerateSW({
|
||||
navigationPreload: true,
|
||||
runtimeCaching: [{
|
||||
urlPattern: ({event}) => event.request.mode === 'navigate',
|
||||
handler: 'NetworkFirst',
|
||||
urlPattern: ({ event }) => event.request.mode === 'navigate',
|
||||
handler: 'NetworkFirst',
|
||||
}, {
|
||||
urlPattern: /^https?:\/\/api\.maptiler\.com\//,
|
||||
handler: 'CacheFirst',
|
||||
}],
|
||||
swDest: '../service-worker.js'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user