Spaces:
Sleeping
Sleeping
drakosfire
commited on
Commit
•
dbc3a91
1
Parent(s):
40db3b8
removed pdfkit from Dockerfile and requirements.
Browse files- Dockerfile +0 -4
- app.py +0 -2
Dockerfile
CHANGED
@@ -20,10 +20,6 @@ COPY --chown=user . $HOME/app
|
|
20 |
# Install any necessary dependencies specified in requirements.txt
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
23 |
-
RUN apt-get update && apt-get install -y \
|
24 |
-
wkhtmltopdf \
|
25 |
-
&& apt-get clean \
|
26 |
-
&& rm -rf /var/lib/apt/lists/*
|
27 |
|
28 |
# Expose port 5000 for the Flask app
|
29 |
EXPOSE 7860
|
|
|
20 |
# Install any necessary dependencies specified in requirements.txt
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
|
|
|
|
|
|
|
|
23 |
|
24 |
# Expose port 5000 for the Flask app
|
25 |
EXPOSE 7860
|
app.py
CHANGED
@@ -2,8 +2,6 @@
|
|
2 |
from flask import Flask, request, jsonify, send_from_directory, url_for, render_template, send_file
|
3 |
from flask_cors import CORS
|
4 |
import os
|
5 |
-
import base64
|
6 |
-
import pdfkit
|
7 |
import ctypes
|
8 |
import store_helper as sh
|
9 |
import block_builder
|
|
|
2 |
from flask import Flask, request, jsonify, send_from_directory, url_for, render_template, send_file
|
3 |
from flask_cors import CORS
|
4 |
import os
|
|
|
|
|
5 |
import ctypes
|
6 |
import store_helper as sh
|
7 |
import block_builder
|