File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Base image for Morph Cloud
2- FROM public.ecr.aws/i1l4z0u0/morph-cloud :python${MORPH_PYTHON_VERSION}
2+ FROM public.ecr.aws/i1l4z0u0/morph-data :python${MORPH_PYTHON_VERSION}
33
44# Set working directory
55WORKDIR /var/task
@@ -9,13 +9,7 @@ COPY requirements.txt .
99RUN pip install --no-cache-dir -r requirements.txt --target "${MORPH_TASK_ROOT}"
1010
1111# Copy source code and dependencies
12- COPY .morph/frontend/dist /var/task/.morph/frontend/dist
13- COPY .morph/core /var/task/core
14- COPY .morph/meta.json .morph/
15- COPY morph_project.yml .
16- COPY data ./data
17- COPY src ./src
18- COPY static ./static
12+ COPY . .
1913
2014# Command to run the Lambda function
21- CMD ["core .morph. api. app.handler " ]
15+ CMD ["python" , " .morph/core/morph/ api/ app.py " ]
Original file line number Diff line number Diff line change 1+ # .morph
2+ .morph /*
3+ ! .morph /frontend /dist
4+ ! .morph /core
5+ ! .morph /meta.json
6+
7+ # node_modules
8+ node_modules
9+ package-lock.json
10+ package.json
11+
12+ .mock_user_context.json
13+ README.md
14+ .gitignore
15+ .env
16+
17+ # Python cache files
18+ __pycache__ /
19+ * .py [cod ]
20+ * $py.class
21+ .pytest_cache /
22+ .coverage
23+ .mypy_cache /
24+ .ruff_cache /
You can’t perform that action at this time.
0 commit comments