This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-08-24 01:14:51 +00:00
|
|
|
FROM node:12-alpine
|
2017-12-05 18:42:52 +00:00
|
|
|
|
2018-08-14 05:04:52 +00:00
|
|
|
ENV PATH /opt/outline/node_modules/.bin:/opt/node_modules/.bin:$PATH
|
|
|
|
ENV NODE_PATH /opt/outline/node_modules:/opt/node_modules
|
2017-12-05 18:42:52 +00:00
|
|
|
ENV APP_PATH /opt/outline
|
|
|
|
RUN mkdir -p $APP_PATH
|
|
|
|
|
|
|
|
WORKDIR $APP_PATH
|
|
|
|
COPY . $APP_PATH
|
2019-05-20 00:49:51 +00:00
|
|
|
|
2019-03-31 06:34:56 +00:00
|
|
|
RUN yarn install --pure-lockfile
|
2017-12-05 18:42:52 +00:00
|
|
|
RUN cp -r /opt/outline/node_modules /opt/node_modules
|
|
|
|
|
2018-08-14 05:04:52 +00:00
|
|
|
CMD yarn build && yarn start
|
2019-07-29 18:48:26 +00:00
|
|
|
|
|
|
|
EXPOSE 3000
|