mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added env
This commit is contained in:
parent
72846b8e7b
commit
bb89bfbcbd
1 changed files with 3 additions and 5 deletions
|
|
@ -1,5 +1,8 @@
|
|||
FROM public.ecr.aws/lambda/python:3.10
|
||||
|
||||
# This is not going to be permenant - but until we solve for env variables in live prod
|
||||
ENV EPC_AUTH_TOKEN=a2Nvbm5rb3dsZXNzYXJAZ21haWwuY29tOjY5MGJiMWM0NmIyOGI5ZDUxYzAxMzQzYzNiZGNlZGJjZDNmODQwMzAg
|
||||
|
||||
# Set working directory (Lambda task root)
|
||||
WORKDIR /var/task
|
||||
|
||||
|
|
@ -17,11 +20,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||
COPY utils/ utils/
|
||||
COPY backend/address2UPRN/main.py .
|
||||
|
||||
# # -----------------------------
|
||||
# # Ensure Python can find utils/
|
||||
# # -----------------------------
|
||||
# ENV PYTHONPATH="/var/task"
|
||||
|
||||
# -----------------------------
|
||||
# Lambda handler
|
||||
# -----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue