DPZC-IaaS-3.2/hetzner/Dockerfile

7 lines
255 B
Docker
Raw Normal View History

2021-11-25 13:01:27 +01:00
FROM hashicorp/terraform:latest
COPY init-db init-db
COPY init-server init-server
COPY main.tf main.tf
ENTRYPOINT terraform init && terraform apply -var="token=${token}" -auto-approve && sleep 240 && terraform destroy -var="token=${token}" -auto-approve