gogo2/web/deploy/demo.Dockerfile
2024-06-15 17:32:12 +03:00

23 lines
400 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
ENV NODE_ENV=demo
# 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 8880
EXPOSE 8881
# Start the application
CMD ["npm", "run", "start:demo-chat"]