sinished the project
This commit is contained in:
@@ -51,7 +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
|
RUN apt-get update && apt-get install -y libreoffice poppler-utils
|
||||||
|
|
||||||
# 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():
|
||||||
|
|||||||
Binary file not shown.
BIN
static/uploads/Banner_poarta_2.pdf
Normal file
BIN
static/uploads/Banner_poarta_2.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 258 KiB |
BIN
static/uploads/big_buck_bunny_720p_1mb.mp4
Normal file
BIN
static/uploads/big_buck_bunny_720p_1mb.mp4
Normal file
Binary file not shown.
Reference in New Issue
Block a user