mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
Update README.md
This commit is contained in:
parent
391cc66435
commit
70b3008dc5
1 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ In order for this to be set up, some key environment variables needs to be inser
|
|||
secrets. Each different model and protected branch has its own set of secrets which allows for flexibility
|
||||
between different pipelines.
|
||||
|
||||
For example, for the branch sap_change-dev, the prefix=SAP_CHANGE_DEV, and the following secrets are:
|
||||
For example, for the branch sap-dev, the prefix=SAP_DEV, and the following secrets are:
|
||||
|
||||
- {prefix}_ECR_URI, which is the URI of the ECR repository to push to. For example, for the
|
||||
sap change model this is the lambda-sap-prediction-dev repository.
|
||||
|
|
@ -58,7 +58,7 @@ First, navigate to the root directory of the repository. Open a terminal and exe
|
|||
2. command to build the Docker image:
|
||||
|
||||
```bash
|
||||
docker build -t sap_change -f deployment/Dockerfile.prediction.lambda .
|
||||
docker build -t sap -f deployment/Dockerfile.prediction.lambda .
|
||||
```
|
||||
|
||||
This will build a Docker image tagged as sap_change using the Dockerfile.prediction.lambda located
|
||||
|
|
@ -68,7 +68,7 @@ in the deployment directory.
|
|||
Once the image is built, you can run it using the following command:
|
||||
|
||||
```bash
|
||||
docker run -p 9000:8080 -v ~/.aws/credentials:/root/.aws/credentials:ro -e RUNTIME_ENVIRONMENT=dev sap_change
|
||||
docker run -p 9000:8080 -v ~/.aws/credentials:/root/.aws/credentials:ro -e RUNTIME_ENVIRONMENT=dev -e PREDICTIONS_BUCKET=retrofit-sap-predictions-dev sap
|
||||
```
|
||||
This command does the following:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue