From a5c4902d9d19773b4080b4bfab15eab2f800efc5 Mon Sep 17 00:00:00 2001 From: PAN Lei Date: Tue, 27 Sep 2022 00:06:20 +0200 Subject: [PATCH] add Dockerfile and docker-compose file --- build_image.sh | 1 + docker-compose.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 build_image.sh create mode 100644 docker-compose.yml diff --git a/build_image.sh b/build_image.sh new file mode 100644 index 0000000..8576d9a --- /dev/null +++ b/build_image.sh @@ -0,0 +1 @@ +docker build -t appointment . \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0f8fa1b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.1' +services: + speechtotext: + image: appointment:latest + restart: always + ports: + # : < MySQL Port running inside container> + - '8000:8000'