Spaces:
Build error
Build error
File size: 517 Bytes
640ab7a fe096f1 640ab7a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# 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/Chat_with_Avatar.git
COPY .env $HOME/app/Chat_with_Avatar/.env
# change folder
WORKDIR $HOME/app/Chat_with_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"] |