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'