Skip to content

Commit 4fc9e60

Browse files
Merge branch 'main' into demo
2 parents 3c93568 + 0d32e01 commit 4fc9e60

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ClientAdvisor/App/WebApp.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ RUN apk add --no-cache --virtual .build-deps \
2222
libpq
2323

2424
COPY ./ClientAdvisor/App/requirements.txt /usr/src/app/
25-
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
25+
RUN pip install --upgrade pip setuptools wheel \
26+
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
2627
&& rm -rf /root/.cache
2728

2829
COPY ./ClientAdvisor/App/ /usr/src/app/
2930
COPY --from=frontend /home/node/app/static /usr/src/app/static/
3031
WORKDIR /usr/src/app
3132
EXPOSE 80
3233

33-
CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]
34+
CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]

ResearchAssistant/App/WebApp.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ RUN apk add --no-cache --virtual .build-deps \
1717
openssl-dev \
1818
curl \
1919
&& apk add --no-cache \
20-
libpq \
21-
&& pip install --no-cache-dir uwsgi
20+
libpq
2221

2322
COPY ./ResearchAssistant/App/requirements.txt /usr/src/app/
24-
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
23+
RUN pip install --upgrade pip setuptools wheel \
24+
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
25+
&& pip install --no-cache-dir uwsgi \
2526
&& rm -rf /root/.cache
2627

2728
COPY ./ResearchAssistant/App/ /usr/src/app/

0 commit comments

Comments
 (0)