This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.1-fpm-alpine | |
# ENV & Build ARGS | |
ENV LARAVEL_DIR /var/www | |
ARG BRANCH=master | |
WORKDIR ${LARAVEL_DIR} | |
# Install Deps | |
RUN apk add --no-cache git sed nginx nodejs npm openssh-client libzip-dev libsodium-dev icu-dev mysql-client supervisor freetype-dev libjpeg-turbo-dev libpng-dev | |
RUN apk add --no-cache $PHPIZE_DEPS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', function() { | |
let tels = document.querySelectorAll('input[type=tel]'); | |
tels.forEach(function (tel) { | |
if (tel) { | |
tel.addEventListener('change', function () { | |
let inputField = this | |
inputField.value = formatPhoneNumber(inputField.value); | |
}); | |
tel.addEventListener('keyup', function () { | |
let inputField = this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.localhost { | |
tls internal | |
root * /srv/App/public | |
php_fastcgi App:9000 { | |
root /var/www/public | |
} | |
file_server | |
encode gzip | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vue-project", | |
"version": "0.0.0", | |
"private": true, | |
"scripts": { | |
"dev": "vite", | |
"build": "vite build", | |
"preview": "vite preview" | |
}, | |
"dependencies": { |