9 lines
144 B
Docker
9 lines
144 B
Docker
FROM node:alpine
|
|
WORKDIR /usr/src/app
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npx tsc -b
|
|
ENV PORT=80
|
|
EXPOSE 80
|
|
CMD [ "npm", "start" ] |