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