Skip to content

Commit 6828aa8

Browse files
committed
Dockerfile
1 parent cb4a4ff commit 6828aa8

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/build-runtime.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- 'requirements.txt'
7+
- 'Dockerfile'
88
- '.lithops/config'
99
workflow_dispatch:
1010

@@ -53,7 +53,7 @@ jobs:
5353
cp .lithops/config ~/.lithops/config
5454
5555
- name: Build runtime
56-
run: lithops runtime build ${{ env.RUNTIME_NAME }} -b aws_lambda
56+
run: lithops runtime build ${{ env.RUNTIME_NAME }} -b aws_lambda -f Dockerfile
5757

5858
- name: Deploy runtime
5959
run: lithops runtime deploy ${{ env.RUNTIME_NAME }} -b aws_lambda

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A GitHub template repository for building and deploying [Lithops](https://lithops-cloud.github.io/) Lambda runtimes for [Cubed](https://github.com/cubed-dev/cubed) via CI — no local Docker required.
44

5-
When you push changes to `requirements.txt`, GitHub Actions builds a Docker image with your dependencies and deploys it as a Lambda container runtime named `cubed-runtime`.
5+
When you push changes to the `Dockerfile`, GitHub Actions builds a Docker image and deploys it as a Lambda container runtime named `cubed-runtime`.
66

77
## Prerequisites
88

@@ -61,7 +61,7 @@ aws_lambda:
6161
6262
### 5. Add your dependencies
6363
64-
Edit `requirements.txt` and push — the CI pipeline builds and deploys the runtime automatically.
64+
Edit the `Dockerfile` to add extra packages (there is a clearly marked section near the bottom), then push — the CI pipeline builds and deploys the `cubed-runtime` Lambda runtime automatically.
6565

6666
## Manual trigger
6767

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)