Skip to content

Commit

Permalink
Fix deployment issues
Browse files Browse the repository at this point in the history
+ fix node compile-image (to node:16-buster, node.js 16 ver)
+ fix python-dev to python3-dev
+ fix for using some old Python packages (jinja2<3.1.0 , itsdangerous==2.0.1 , werkzeug==2.0.3)
  • Loading branch information
malakhovks committed Jul 9, 2023
1 parent 3f7fed2 commit dbf7e0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-docsim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:lts-buster AS compile-image
FROM node:16-buster AS compile-image
# FROM node:lts-buster AS compile-image

COPY ./ui /app/ui

Expand Down Expand Up @@ -29,7 +30,8 @@ EXPOSE 5000

RUN apt-get -y clean \
&& apt-get -y update \
&& apt-get -y install python-dev \
# && apt-get -y install python-dev \
&& apt-get -y install python3-dev \
&& apt-get -y install build-essential \
&& apt-get -y install unzip \
&& apt-get -y install bzip2 \
Expand Down
3 changes: 3 additions & 0 deletions server/deploy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
pdfminer.six==20201018
pandas==1.1.4
gensim==3.8.3
jinja2<3.1.0
itsdangerous==2.0.1
werkzeug==2.0.3
Flask==1.1.2
flask-cors==3.0.9
# ------------------------------------------------------------------
Expand Down

0 comments on commit dbf7e0e

Please sign in to comment.