Skip to content

Commit

Permalink
Simplify deployment [to validate]
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecode committed Mar 29, 2023
1 parent 8cdb23b commit e79335d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions AzurePipelines.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM jdecode/xdev:php-npx

COPY . /var/www/html
WORKDIR /var/www/html

RUN composer install -n --prefer-dist
COPY ./index.php /var/www/html/index.php

RUN composer run deployer
#RUN composer install -n --prefer-dist

#RUN composer run deployer

#RUN chmod +x /var/www/html/deployer
#
Expand Down
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

echo 'Hello Azure!';

0 comments on commit e79335d

Please sign in to comment.