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.
outline/Dockerfile

15 lines
346 B
Docker
Raw Normal View History

FROM node:8.11
2017-12-05 18:42: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
CMD yarn build && yarn start