|
|
@ -1,4 +1,4 @@ |
|
|
|
FROM nextcloud:27.0.0 |
|
|
|
FROM nextcloud:27.0.0-fpm-alpine |
|
|
|
WORKDIR /usr/src/nextcloud |
|
|
|
WORKDIR /usr/src/nextcloud |
|
|
|
RUN chown -R www-data:www-data . |
|
|
|
RUN chown -R www-data:www-data . |
|
|
|
USER www-data |
|
|
|
USER www-data |
|
|
@ -16,7 +16,7 @@ RUN ./occ app:install notes --force --allow-unstable # 4.8.0 |
|
|
|
RUN ./occ app:install uppush --force --allow-unstable # 1.4.0 |
|
|
|
RUN ./occ app:install uppush --force --allow-unstable # 1.4.0 |
|
|
|
|
|
|
|
|
|
|
|
RUN ./occ app:enable password_policy |
|
|
|
RUN ./occ app:enable password_policy |
|
|
|
RUN (bash /entrypoint.sh php -S 0.0.0.0:8080 &) && \ |
|
|
|
RUN (sh /entrypoint.sh php -S 0.0.0.0:8080 &) && \ |
|
|
|
until curl -s -o /dev/null http://localhost:8080/status.php; do true; done && \ |
|
|
|
until curl -s -o /dev/null http://localhost:8080/status.php; do true; done && \ |
|
|
|
for user in admin user1 user2; do curl -u "$user:$user" -H "ocs-apirequest: true" -s -o /dev/null http://localhost:8080/ocs/v2.php/cloud/user; done |
|
|
|
for user in admin user1 user2; do curl -u "$user:$user" -H "ocs-apirequest: true" -s -o /dev/null http://localhost:8080/ocs/v2.php/cloud/user; done |
|
|
|
COPY --chown=www-data:www-data overlay /usr/src/nextcloud/ |
|
|
|
COPY --chown=www-data:www-data overlay /usr/src/nextcloud/ |
|
|
|