gogo2/web/deploy/demo.Dockerfile

21 lines
388 B
Docker

# 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"]