finisshing

This commit is contained in:
Ske087
2025-01-25 20:34:27 +02:00
parent fda07c701d
commit 64b8f5392a
8 changed files with 7 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ COPY --from=build /root/.cargo /root/.cargo
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN pip install gunicorn RUN pip install gunicorn
RUN apt-get update && apt-get install -y libreoffice
# Make port 5000 available to the world outside this container # Make port 5000 available to the world outside this container
EXPOSE 5000 EXPOSE 5000

Binary file not shown.

2
app.py
View File

@@ -495,7 +495,7 @@ def clean_unused_files():
os.remove(file_path) os.remove(file_path)
flash('Unused files have been cleaned.', 'success') flash('Unused files have been cleaned.', 'success')
return redirect(url_for('admin')) return redirect(url_for('admin')
@app.context_processor @app.context_processor
def inject_theme(): def inject_theme():

View File

@@ -2,7 +2,7 @@
services: services:
web: web:
image: digi_serverdocker :latest image: digi_server:latest
ports: ports:
- "7100:5000" - "7100:5000"
environment: environment:

Binary file not shown.

View File

@@ -16,3 +16,7 @@ SQLAlchemy==2.0.37
typing_extensions==4.12.2 typing_extensions==4.12.2
Werkzeug==3.1.3 Werkzeug==3.1.3
gunicorn==20.1.0 gunicorn==20.1.0
comtypes==1.4.9
pdf2image==1.17.0
pillow==11.1.0
setuptools==75.8.0

BIN
static/uploads/Ibex_450.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB