fixed some bugs and updated docker stuff
This commit is contained in:
@@ -7,6 +7,9 @@ COPY static /usr/src/portal-webapp/static
|
||||
COPY contract/ /usr/src/portal-webapp/contract
|
||||
WORKDIR /usr/src/portal-webapp
|
||||
|
||||
RUN pip install --no-cache-dir flask flask-dropzone gunicorn
|
||||
RUN apt-get update && apt-get -y install wkhtmltopdf python3-pdfkit && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install --no-cache-dir flask flask-dropzone gunicorn pdfkit
|
||||
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:80", "-w", "1", "--access-logfile", "-", "app:app"]
|
||||
|
||||
Reference in New Issue
Block a user