Skip to content

Commit

Permalink
Add temporary solution for running Serving API
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed May 24, 2024
1 parent b29d7ca commit 1d68bc8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ services:
ports:
- "8000:8000"
serving-api:
build:
context: .
dockerfile: Dockerfile.serving-api
image: serving-api:latest
# build:
# context: .
# dockerfile: Dockerfile.serving-api
# image: serving-api:latest
# This is a temporary solution to run the serving-api,
# until the serving-api is ready to be run in a container.
image: tensorflow/serving:latest
environment:
- MODEL_NAME=sqli_model
volumes:
- ./sqli_model:/models/sqli_model
ports:
- "8500:8500"
- "8501:8501"

0 comments on commit 1d68bc8

Please sign in to comment.