From f6e27d5f76404e23984dc13588e7980b5c0d6c39 Mon Sep 17 00:00:00 2001 From: Win Date: Fri, 19 Jul 2024 10:43:13 +0700 Subject: [PATCH] Added Dockerfile --- Dockerfile | 1 + docker-compose.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index 879eb15..0e0cf56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /home/node/app COPY package*.json ./ USER node RUN npm install +RUN mkdir -p public/audio COPY --chown=node:node . . EXPOSE 3000 CMD [ "node", "index.js" ] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d94466a --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' +services: + sanskrit-tts: + image: git.winscloud.net/winsdominoes/sanskrit-tts:latest-amd64 + container_name: sanskrit-tts + hostname: sanskrit-tts + ports: + - '3000:3000'