Added Dockerfile
This commit is contained in:
parent
0740b7cc9e
commit
f6e27d5f76
|
@ -4,6 +4,7 @@ WORKDIR /home/node/app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
USER node
|
USER node
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
RUN mkdir -p public/audio
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD [ "node", "index.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue