Skip to content

fix: Updates to the Dockerfiles for both ClientAdvisor and ResearchAssistant #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ClientAdvisor/App/WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ RUN apk add --no-cache --virtual .build-deps \
libpq

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

COPY ./ClientAdvisor/App/ /usr/src/app/
COPY --from=frontend /home/node/app/static /usr/src/app/static/
WORKDIR /usr/src/app
EXPOSE 80

CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]
CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]
3 changes: 2 additions & 1 deletion ResearchAssistant/App/WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ RUN apk add --no-cache --virtual .build-deps \
&& pip install --no-cache-dir uwsgi

COPY ./ResearchAssistant/App/requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
RUN pip install --upgrade pip setuptools wheel \
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
&& rm -rf /root/.cache

COPY ./ResearchAssistant/App/ /usr/src/app/
Expand Down
Loading