diff --git a/Dockerfile b/Dockerfile index fb48325..09abfae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ RUN mkdir -p ${APP_DIR} WORKDIR ${APP_DIR} COPY package*.json ./ -RUN npm ci && npm cache clean --force +RUN npm install COPY ./build ./ CMD ["npm", "run", "build"] # Run stage FROM node:20-alpine -COPY --from=build . . +COPY --from=build ./index.js ./ CMD ["node", "index.js"] \ No newline at end of file