deploy demo to .10
This commit is contained in:
20
web/deploy/demo.Dockerfile
Normal file
20
web/deploy/demo.Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user