You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FROM node:latest
|
|
|
|
|
|
|
|
# Create app directory
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
# Install deps
|
|
|
|
COPY package.json ./
|
|
|
|
COPY yarn.lock ./
|
|
|
|
RUN yarn
|
|
|
|
|
|
|
|
# Build
|
|
|
|
RUN yarn tsc
|
|
|
|
|
|
|
|
COPY ./built/* .
|
|
|
|
|
|
|
|
CMD [ "node", "index.js" ]
|