This commit is contained in:
2026-02-14 03:58:31 +00:00
parent dfbc5d402f
commit 3c21d6c8e5
4 changed files with 148 additions and 0 deletions

20
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# Use Node.js LTS as the base image
FROM node:18-slim
# Create and change to the app directory
WORKDIR /usr/src/app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Copy the rest of the application code
COPY . .
# Expose the port the app runs on
EXPOSE 3000
# Command to run the application
CMD [ "node", "index.js" ]