finisshing
This commit is contained in:
@@ -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
2
app.py
@@ -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():
|
||||||
|
|||||||
@@ -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.
@@ -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/Copie_a_free-4-box-diagram-static-16x9_.pptx
Normal file
BIN
static/uploads/Copie_a_free-4-box-diagram-static-16x9_.pptx
Normal file
Binary file not shown.
BIN
static/uploads/Ibex_450.jpg
Normal file
BIN
static/uploads/Ibex_450.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 148 KiB |
Reference in New Issue
Block a user