14 lines
162 B
Docker
14 lines
162 B
Docker
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" ]
|
|
|