Skip to content

Commit 489b249

Browse files
committed
Update README
1 parent 37acfff commit 489b249

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/lambda-feedback/evaluation-function-base/python:3.12 as builder
1+
FROM ghcr.io/lambda-feedback/evaluation-function-base/python:3.12 AS builder
22

33
RUN pip install poetry==1.8.3
44

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ To build the Docker image, run the following command:
132132
docker build -t my-python-evaluation-function .
133133
```
134134

135+
### Running the Docker Image
136+
137+
To run the Docker image, use the following command:
138+
139+
```bash
140+
docker run -it --rm -p 8080:8080 my-python-evaluation-function
141+
```
142+
143+
This will start the evaluation function and expose it on port `8080`.
144+
135145
## Deployment
136146

137147
This section guides you through the deployment process of the evaluation function. If you want to deploy the evaluation function to Lambda Feedback, follow the steps in the [Lambda Feedback](#deploy-to-lambda-feedback) section. Otherwise, you can deploy the evaluation function to other platforms using the [Other Platforms](#deploy-to-other-platforms) section.

0 commit comments

Comments
 (0)