FROM node:16 WORKDIR /usr/src/app COPY package*.json ./ RUN npm install RUN npm install -g typescript COPY . . EXPOSE ${PORT} RUN tsc CMD [ "npm", "start" ]