Files
BOS-React-/backend/Dockerfile
2025-07-22 12:21:12 +05:30

21 lines
337 B
Docker

# Use official Node.js LTS image
FROM node:18
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy backend source files
COPY . .
# Expose port
EXPOSE 5000
# Start the server
CMD ["node", "server.js"]