docker volume ls -qf dangling=true
docker volume rm $(docker volume ls -qf dangling=true)
# This assumes you have a start script in your package.json file | |
FROM oraclelinux:9 | |
RUN dnf -y module enable nodejs:20 && \ | |
dnf -y install nodejs npm | |
RUN dnf install oracle-instantclient-release-el9 && \ | |
dnf -y install oracle-instantclient19.19-basic.x86_64 | |
WORKDIR /app | |
COPY . . |
version: '3.3' | |
services: | |
database: | |
image: mysql:5.7 | |
container_name: mysql | |
restart: always | |
environment: | |
MYSQL_DATABASE: 'db' | |
MYSQL_USER: 'user' | |
MYSQL_PASSWORD: 'password' |
/* | |
* ADVERTENCIA: | |
* - Asume el uso de Angular | |
*/ | |
public descargarCertificado() { | |
this.http.get('/genera_certificado', { | |
responseType: 'arraybuffer' | |
}).subscribe((data:any) => this.descargarArchivo(data)); | |
} |
.container { | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
} |
/* | |
* Instructions: | |
* ------------- | |
* | |
* 1) Run npm install xml2js --save | |
* | |
* 2) Add in the script section if your package.json | |
* "scripts": { | |
* "clean": "ionic-app-scripts clean", | |
* "build": "ionic-app-scripts build", |