mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
Update Dockerfile files PATH
This commit is contained in:
parent
834e65f1b6
commit
79afcfbaeb
@ -58,7 +58,7 @@ RUN echo "0,30 * * * * bash /var/www/uguu/src/static/scripts/checkfiles.sh" >> /
|
|||||||
# Fix script paths
|
# Fix script paths
|
||||||
RUN chmod a+x /var/www/uguu/src/static/scripts/checkdb.sh && \
|
RUN chmod a+x /var/www/uguu/src/static/scripts/checkdb.sh && \
|
||||||
chmod a+x /var/www/uguu/src/static/scripts/checkfiles.sh && \
|
chmod a+x /var/www/uguu/src/static/scripts/checkfiles.sh && \
|
||||||
sed -i 's#/path/to/files/#/var/www/uguu/files/#g' /var/www/uguu/src/static/scripts/checkfiles.sh && \
|
sed -i 's#/path/to/files/#/var/www/files/#g' /var/www/uguu/src/static/scripts/checkfiles.sh && \
|
||||||
sed -i 's#/path/to/db/uguu.sq3#/var/www/db/uguu.sq3#g' /var/www/uguu/src/static/scripts/checkdb.sh
|
sed -i 's#/path/to/db/uguu.sq3#/var/www/db/uguu.sq3#g' /var/www/uguu/src/static/scripts/checkdb.sh
|
||||||
|
|
||||||
# Copy Nginx Server conf
|
# Copy Nginx Server conf
|
||||||
|
Loading…
Reference in New Issue
Block a user