added env

This commit is contained in:
Jun-te Kim 2026-02-04 14:42:17 +00:00
parent 72846b8e7b
commit bb89bfbcbd

View file

@ -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
# -----------------------------