fix: اصلاح Dockerfile و server.js برای اجرای صحیح API

This commit is contained in:
root
2026-07-05 18:55:13 +03:30
parent 9df7e919c5
commit 089971fcdf
3 changed files with 20 additions and 2 deletions

12
Dockerfile.backup Normal file
View File

@@ -0,0 +1,12 @@
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
EXPOSE 3002
CMD ["node", "index.js"]