Skip to content

Commit

Permalink
Remove Serving API
Browse files Browse the repository at this point in the history
Rename Dockerfile and service name
Remove unused files
  • Loading branch information
mostafa committed Oct 28, 2024
1 parent 4152474 commit b9faf5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 39 deletions.
File renamed without changes.
13 changes: 0 additions & 13 deletions Dockerfile.serving-api

This file was deleted.

21 changes: 3 additions & 18 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
services:
tokenizer-api:
prediction-api:
build:
context: .
dockerfile: Dockerfile.tokenizer-api
image: tokenizer-api:latest
dockerfile: Dockerfile
image: prediction-api:latest
ports:
- "8000:8000"
serving-api:
# 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"
postgres1:
image: postgres:latest
environment:
Expand Down
8 changes: 0 additions & 8 deletions models.config

This file was deleted.

0 comments on commit b9faf5c

Please sign in to comment.