repod/Dockerfile
Michel Roux e63ff6ef04
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m33s
repod / release (push) Has been skipped
fix: 🔧 use new ENV syntax for dockerfile
2024-08-08 09:56:42 +02:00

23 lines
565 B
Docker

FROM nextcloud:29
ENV NEXTCLOUD_UPDATE=1
ENV NEXTCLOUD_ADMIN_USER=repod
ENV NEXTCLOUD_ADMIN_PASSWORD=repod
ENV NEXTCLOUD_INIT_HTACCESS=1
ENV SQLITE_DATABASE=repod
RUN apt-get update && \
apt-get install -y nodejs npm sqlite3 && \
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
/entrypoint.sh true
USER www-data
COPY --chown=www-data:www-data . apps/repod
RUN cd apps/repod && make build && cd - && \
php occ app:install gpoddersync && \
php occ app:enable repod && \
php occ config:system:set debug --value=true
USER root