Fixed utf bugs in pdf generation, deleted unnecessary files, some other minor tweaks.

This commit is contained in:
mihasinkec
2021-02-21 15:16:40 +01:00
parent c1d6cbbb70
commit fd4bad4afe
7 changed files with 19 additions and 52 deletions

View File

@@ -7,9 +7,9 @@ COPY static /usr/src/portal-webapp/static
COPY contract/ /usr/src/portal-webapp/contract
WORKDIR /usr/src/portal-webapp
RUN apt-get update && apt-get -y install wkhtmltopdf python3-pdfkit && \
RUN apt-get update && apt-get -y install wkhtmltopdf && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir flask flask-dropzone gunicorn pdfkit
RUN pip3 install --no-cache-dir pdfkit flask flask-dropzone gunicorn pdfkit
CMD ["gunicorn", "--bind", "0.0.0.0:80", "-w", "1", "--access-logfile", "-", "app:app"]