Commit 911b23bf authored by TokaKaram's avatar TokaKaram

change backend docker path

parent d02a055d
FROM node:22-alpine
WORKDIR /app
# نسخ ملفات التعريف أولاً لتسريع البناء
COPY package*.json ./
RUN npm install --production
COPY . .
......
{
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22-alpine",
"WORKDIR /app",
"COPY . .",
"RUN cd backend && npm install --production",
"EXPOSE 5000",
"CMD [\"sh\", \"-c\", \"cd backend && node src/app.js\"]"
]
"dockerfilePath": "backend/Dockerfile"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment