This commit is contained in:
Saad AlKathiri
2025-03-27 18:26:47 +03:00
parent 12fc59c524
commit 5d25258f20
59 changed files with 6281 additions and 0 deletions

17
dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:18-alpine
WORKDIR /usr/src/app
# Copy package.json and package-lock.json first (for better caching)
COPY package*.json ./
# Install all dependencies (both production & dev)
RUN npm install
# Copy the rest of the application
COPY . .
# Build the application
RUN npm run build
CMD [ "npm", "run", "start" ]