dejando un momento las dev dependencies en la imagen mientras se compila el ts, luego se borra
Some checks failed
Deploy conversation layer / deploy (push) Failing after 4s

This commit is contained in:
2025-06-04 22:00:45 -06:00
parent bd3a16b24c
commit 3a96f906fe

View File

@@ -3,6 +3,6 @@ WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install --production
COPY . .
RUN npm run build
RUN npm install && npm run build && npm prune --production
EXPOSE 3000
CMD ["node","dist/server.js"]