FROM node:20-alpine

WORKDIR /user-mgmt_app

COPY package*.json ./
RUN npm install

COPY . .

EXPOSE 4000

CMD ["npm", "start"]