FROM node:20-alpine

WORKDIR /panel-mgmt_app

COPY package*.json ./
RUN npm install

COPY . .

EXPOSE 4001

CMD ["npm", "start"]