Update Dockerfile

This commit is contained in:
Kaveri Reddy 2024-12-10 23:55:31 +05:30 committed by GitHub
parent 0405d71f8b
commit 7d9cb9bed3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
FROM node:18-alpine FROM node:18-alpine
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN yarn install RUN yarn install --production
EXPOSE 3000 EXPOSE 3000
CMD ["node","src/index.js"] CMD ["node","src/index.js"]