diff --git a/Dockerfile b/Dockerfile index 783deeb..e42f138 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,10 @@ -FROM node:18-alpine +FROM registry.hamdocker.ir/seniorkian/node18-inspection-back:1.0.0 WORKDIR /app -COPY package*.json ./ - -RUN npm install - COPY . . +ENV PORT=3000 EXPOSE 3000 -CMD ["node", "index.js"] - +CMD ["npm", "start"] \ No newline at end of file