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

19 lines
389 B
Docker
Raw Normal View History

FROM node:14-alpine
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
RUN yarn build
2017-12-05 18:42:52 +00:00
RUN cp -r /opt/outline/node_modules /opt/node_modules
2020-09-05 06:28:29 +00:00
ENV NODE_ENV production
2017-12-05 18:42:52 +00:00
CMD yarn start
2019-07-29 18:48:26 +00:00
EXPOSE 3000