2024-04-25 08:36:22 +02:00
|
|
|
FROM nextcloud:29
|
2023-06-24 17:18:27 +02:00
|
|
|
|
2024-08-08 09:56:42 +02:00
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
ENV NEXTCLOUD_ADMIN_USER=repod
|
|
|
|
ENV NEXTCLOUD_ADMIN_PASSWORD=repod
|
|
|
|
ENV NEXTCLOUD_INIT_HTACCESS=1
|
|
|
|
ENV SQLITE_DATABASE=repod
|
2023-06-24 17:18:27 +02:00
|
|
|
|
2023-12-23 18:36:54 +01:00
|
|
|
RUN apt-get update && \
|
2024-01-18 11:19:09 +01:00
|
|
|
apt-get install -y nodejs npm sqlite3 && \
|
2023-07-18 21:44:12 +02:00
|
|
|
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
|
2023-06-24 17:18:27 +02:00
|
|
|
/entrypoint.sh true
|
|
|
|
|
|
|
|
USER www-data
|
|
|
|
|
|
|
|
COPY --chown=www-data:www-data . apps/repod
|
2024-01-18 11:06:51 +01:00
|
|
|
RUN cd apps/repod && make build && cd - && \
|
|
|
|
php occ app:install gpoddersync && \
|
|
|
|
php occ app:enable repod && \
|
2023-07-03 16:17:00 +02:00
|
|
|
php occ config:system:set debug --value=true
|
2023-06-24 17:18:27 +02:00
|
|
|
|
|
|
|
USER root
|