update: dockerfile

This commit is contained in:
2026-01-27 12:09:55 +03:30
parent 2cdf04d589
commit a6ca3fe519

View File

@@ -1,14 +1,10 @@
FROM node:18-alpine FROM registry.hamdocker.ir/seniorkian/node18-inspection-back:1.0.0
WORKDIR /app WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . . COPY . .
ENV PORT=3000
EXPOSE 3000 EXPOSE 3000
CMD ["node", "index.js"] CMD ["npm", "start"]