git-clone taks and updates

This commit is contained in:
2022-03-15 12:55:42 +01:00
parent 5a2b1a1521
commit 857641a92e
2 changed files with 5 additions and 6 deletions

View File

@@ -15,12 +15,11 @@ RUN apt-get autoremove --purge -y && \
rm -rf /var/cache/apt/* /tmp/* /var/tmp/* /var/log/*
RUN curl -k -L -o rompr.zip https://github.com/fatg3erman/RompR/releases/download/${ROMPR_VERSION}/rompr-${ROMPR_VERSION}.zip
RUN mkdir -p /app
RUN mkdir -p /app /rompr
RUN unzip -d /app rompr.zip && rm rompr.zip
RUN mkdir -p /rompr
RUN ln -sf /rompr/prefs /app/rompr/prefs
RUN ln -sf /rompr/albumart /app/rompr/albumart
RUN ln -sf /rompr/prefs /app/rompr/prefs; ln -sf /rompr/albumart /app/rompr/albumart;
RUN chown -R www-data:www-data /app/rompr /rompr
RUN pwd; ls -la .;
ADD /files/nginx_default /etc/nginx/sites-available/default
RUN mkdir -p /run/php/
#Environment variables to configure php