67981a351e
* chore: Remove env variables in webpack bundle * remove unused globals * refactor: consolidate window.env calls to single file * fix: Slack client side integration auth * fix: developers url
18 lines
365 B
Docker
18 lines
365 B
Docker
FROM node:12-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 yarn build
|
|
RUN cp -r /opt/outline/node_modules /opt/node_modules
|
|
|
|
CMD yarn start
|
|
|
|
EXPOSE 3000
|