chat / Dockerfile
elkf-backend's picture
Create Dockerfile
7c49645 verified
Raw History Blame Contribute Delete
241 Bytes
FROM node:18-slim
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Copy application files
COPY . .
# Expose port
EXPOSE 7860
# Start the application
CMD ["node", "server.js"]