DPZC-Hetzner/webservice-balancer/Azure/Azure.Dockerfile

13 lines
239 B
Docker
Raw Permalink Normal View History

2023-01-31 12:41:09 +01:00
FROM ubuntu
VOLUME /opt/app
WORKDIR /opt/app
RUN apt update && apt install curl -y
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
RUN apt install jq -y
COPY . .
RUN chmod +x ./deploy.sh
CMD ["bash", "-c", "az login;./deploy.sh"]