13 lines
239 B
Docker
13 lines
239 B
Docker
|
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"]
|