This project reads the last release note from the Ministério da Saúde's SISAIH release file and serves it as a http endpoint.
Build the default image:
docker build -t laurocesar/sisaih01-downloader .
Build the ARM image:
docker build -f DockerfileARM -t laurocesar/sisaih01-downloader .
Run it as a Docker compose:
docker-compose up
Run:
docker container run --rm -v $(pwd)/src/main/php/sisaih01:/app/ php:7.4-cli php app/sisaih01.php
Using ARM Architecture in order to deploy at Oracle Cloud using Oracle Linux v8.
Just run:
./deploy-to-dockerhub.sh
Run as:
docker run -p 80:80 -d --restart unless-stopped --network=host --name sisaih01 laurocesar/sisaih01-downloader:TAG