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
2019-08-21 08:19:27 -07:00

17 lines
366 B
Docker

FROM node:8.11-alpine
ENV PATH /opt/outline/node_modules/.bin:/opt/node_modules/.bin:$PATH
ENV NODE_PATH /opt/outline/node_modules:/opt/node_modules
ENV APP_PATH /opt/outline
RUN mkdir -p $APP_PATH
WORKDIR $APP_PATH
COPY . $APP_PATH
RUN yarn install --pure-lockfile
RUN cp -r /opt/outline/node_modules /opt/node_modules
CMD yarn build && yarn start
EXPOSE 3000