deploy demo to .10

This commit is contained in:
Dobromir Popov
2024-06-12 16:26:53 +03:00
parent 49edcd4985
commit 98ae4f5e99
8 changed files with 96 additions and 27 deletions

View File

@ -0,0 +1,20 @@
# Use the official Node.js 14 image as a base image
FROM node:20
# Create and change to the app directory
WORKDIR /usr/src/app
# Copy the package.json and package-lock.json files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose port 3000
EXPOSE 8880
# Start the application
CMD ["npm", "run", "start:demo-chat"]