FROM node:alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN npx tsc
COPY . .
CMD [ "npm", "start" ]