Text_to_Avatar / Dockerfile
mbarnig's picture
Create Dockerfile
b163480 verified
raw
history blame
511 Bytes
# Node base image
FROM node:22.6-bullseye
WORKDIR $HOME/app
# Clone HeyGen Github repository in app folder
RUN git clone https://github.com/mbarnig/Text_to_Avatar.git
COPY .env $HOME/app/Text_to_Avatar/.env
# change folder
WORKDIR $HOME/app/Text_to_Avatar
RUN ls -a
# Loading Dependencies
RUN npm install
# RUN npm run dev
RUN npm run build
# Expose application's default port
EXPOSE 7860
# Entrypoint
# ENTRYPOINT ["npm", "run", "start"]
# Command to start the application
CMD ["npm", "run", "start"]