feat: Add build date functionality and enhance documentation pages
- Added a script to save the build date during Docker image build. - Introduced a build_date property in the Settings class to retrieve the build date from the environment or file. - Enhanced the homepage to display system statistics including processed files and active integrations. - Updated the about page with a comprehensive list of features. - Added new privacy, imprint, cookies, and terms pages with relevant content. - Improved the license page with related information links. - Refactored the base template for better mobile responsiveness and footer links.
This commit is contained in:
+10
@@ -21,6 +21,16 @@ COPY ./frontend /app/frontend
|
||||
COPY ./VERSION /app/VERSION
|
||||
COPY ./LICENSE /app/LICENSE
|
||||
|
||||
# Copy build script and generate build date
|
||||
COPY ./docker/build-scripts/save-build-date.sh /tmp/
|
||||
RUN mkdir -p /app/docker/build-scripts/ && \
|
||||
cp /tmp/save-build-date.sh /app/docker/build-scripts/ && \
|
||||
chmod +x /tmp/save-build-date.sh && \
|
||||
/tmp/save-build-date.sh
|
||||
|
||||
# Set build date as environment variable
|
||||
#ENV BUILD_DATE=$(cat /app/BUILD_DATE)
|
||||
|
||||
# Set Python path explicitly
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user