Skip to content

Commit b9faf5c

Browse files
committed
Remove Serving API
Rename Dockerfile and service name Remove unused files
1 parent 4152474 commit b9faf5c

File tree

4 files changed

+3
-39
lines changed

4 files changed

+3
-39
lines changed
File renamed without changes.

Dockerfile.serving-api

-13
This file was deleted.

docker-compose.yaml

+3-18
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,11 @@
11
services:
2-
tokenizer-api:
2+
prediction-api:
33
build:
44
context: .
5-
dockerfile: Dockerfile.tokenizer-api
6-
image: tokenizer-api:latest
5+
dockerfile: Dockerfile
6+
image: prediction-api:latest
77
ports:
88
- "8000:8000"
9-
serving-api:
10-
# build:
11-
# context: .
12-
# dockerfile: Dockerfile.serving-api
13-
# image: serving-api:latest
14-
# This is a temporary solution to run the serving-api,
15-
# until the serving-api is ready to be run in a container.
16-
image: tensorflow/serving:latest
17-
environment:
18-
- MODEL_NAME=sqli_model
19-
volumes:
20-
- ./sqli_model:/models/sqli_model
21-
ports:
22-
- "8500:8500"
23-
- "8501:8501"
249
postgres1:
2510
image: postgres:latest
2611
environment:

models.config

-8
This file was deleted.

0 commit comments

Comments
 (0)