mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #411 from Hestia-Homes/remote-assessment-api
updating dockerfile to install fastapi dependencies + engine for the engine lambda
This commit is contained in:
commit
87717c16dc
2 changed files with 9 additions and 9 deletions
|
|
@ -8,11 +8,15 @@ ENV PYTHONUNBUFFERED 1
|
|||
# Set work directory to the root of your project
|
||||
WORKDIR var/task/Model
|
||||
|
||||
# Install python dependencies
|
||||
COPY ./backend/engine/requirements.txt ./requirements.txt
|
||||
# Install and clean up temp caches
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install -r requirements.txt && rm -rf /root/.cache
|
||||
# Install python dependencies - we also install the fastapi dependencies here, since we use similar
|
||||
# functionality (though the api isn't served via fastapi). We will probably simplify this in the future
|
||||
COPY ./backend/engine/requirements.txt ./requirements1.txt
|
||||
COPY ./backend/app/requirements/requirements.txt ./requirements2.txt
|
||||
|
||||
RUN cat requirements1.txt requirements2.txt > requirements.txt \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install -r requirements.txt \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
# Since we are not using a base AWS image, there is some additional setup required. We need to set up the runtime
|
||||
# interface client
|
||||
|
|
|
|||
|
|
@ -23,7 +23,3 @@ fastparquet==2024.5.0
|
|||
aiohttp==3.10.10
|
||||
# find my epc
|
||||
beautifulsoup4
|
||||
# Sqlalchemy
|
||||
sqlalchemy==2.0.36
|
||||
pydantic-settings==2.6.0
|
||||
psycopg2-binary==2.9.10
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue