creacion del pdf del talonario de facturas de ktux
depende de la libreria fpdf “setasign/fpdf”: “1.7” -instalar composer -correr composer install
PHP 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
php -S localhost:8080 FACTURA.php
docker-compose up -d
——– [nuevo formato de imagen con .yml] ———-
docker run -d –name nginx -p 8080:80 nginx:latest
docker pull webimp/php-72-apache:latest
docker build
-f php-7-4-apache.Dockerfile
–target php-7-4-build
–build-arg APP_ENV=local
–build-arg NPM_VERSION=7.24.2
–no-cache
-t php-7-4-web-server:latest
.
docker build –no-cache -t webimp/php-72-apache:latest .
--network bridge \
sudo docker-compose up –build -d
sudo docker exec -it php-7-4-web-server /bin/bash
> docker cp FACTURA.php factura_ktux-webserver-1:/var/www/html/index.php