Add files via upload

This commit is contained in:
aaryaman-s
2025-07-22 12:21:12 +05:30
committed by GitHub
parent e2a2034e31
commit ef229f7746

20
backend/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# 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"]