This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
2018-01-28 11:10:42 +00:00
|
|
|
FROM node:8-alpine
|
2018-01-26 19:56:43 +00:00
|
|
|
|
|
|
|
RUN mkdir -p /public
|
|
|
|
|
|
|
|
COPY ./src /app/src
|
|
|
|
COPY ./package.json /app/package.json
|
|
|
|
COPY ./typings.json /app/typings.json
|
|
|
|
COPY ./tsconfig.json /app/tsconfig.json
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
RUN node_modules/.bin/typings install
|
|
|
|
|
|
|
|
RUN npm run build
|
|
|
|
|
|
|
|
CMD npm start -- /public
|
|
|
|
|
2018-01-28 11:10:42 +00:00
|
|
|
EXPOSE 5000
|