mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
added postcode splittelr handler code
This commit is contained in:
parent
18396d9494
commit
47fce5f3f8
3 changed files with 10 additions and 2 deletions
|
|
@ -23,7 +23,8 @@
|
||||||
"corentinartaud.pdfpreview",
|
"corentinartaud.pdfpreview",
|
||||||
"ms-python.vscode-python-envs",
|
"ms-python.vscode-python-envs",
|
||||||
"ms-python.black-formatter",
|
"ms-python.black-formatter",
|
||||||
"GrapeCity.gc-excelviewer"
|
"GrapeCity.gc-excelviewer",
|
||||||
|
"jakobhoeg.vscode-pokemon"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"files.defaultWorkspace": "/workspaces/model",
|
"files.defaultWorkspace": "/workspaces/model",
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
"ms-python.vscode-python-envs",
|
"ms-python.vscode-python-envs",
|
||||||
"ms-python.black-formatter",
|
"ms-python.black-formatter",
|
||||||
"waderyan.gitblame",
|
"waderyan.gitblame",
|
||||||
"GrapeCity.gc-excelviewer"
|
"GrapeCity.gc-excelviewer",
|
||||||
|
"jakobhoeg.vscode-pokemon"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"files.defaultWorkspace": "/workspaces/model",
|
"files.defaultWorkspace": "/workspaces/model",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,12 @@ FROM public.ecr.aws/lambda/python:3.10
|
||||||
# Set working directory (Lambda task root)
|
# Set working directory (Lambda task root)
|
||||||
WORKDIR /var/task
|
WORKDIR /var/task
|
||||||
|
|
||||||
|
COPY backend/postcode_splitter/handler/requirements.txt
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY utils/ utils/
|
||||||
|
COPY backend/postcode_splitter/main.py .
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Lambda handler
|
# Lambda handler
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue