mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
15 lines
578 B
Text
15 lines
578 B
Text
# Set the working directory
|
|
WORKDIR ${LAMBDA_TASK_ROOT}
|
|
|
|
# Install python packages
|
|
COPY requirements/predictions/predictions.txt ./simulation_system/requirements.txt
|
|
RUN pip install --no-cache-dir -r ./simulation_system/requirements.txt
|
|
|
|
# Copy the project code to the working directory
|
|
COPY ./core ./simulation_system/core
|
|
COPY ./MLModel ./simulation_system/MLModel
|
|
COPY ./predictions.py ./simulation_system/predictions.py
|
|
COPY ./handlers/predictions_app.py ./simulation_system/predictions_app.py
|
|
|
|
# Run off a lambda trigger
|
|
CMD [ "simulation_system.predictions_app.handler" ]
|