7e62b3b9aa
* chore: Upgrade Node to v12 * test: Upgrade test node image
17 lines
364 B
Docker
17 lines
364 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 cp -r /opt/outline/node_modules /opt/node_modules
|
|
|
|
CMD yarn build && yarn start
|
|
|
|
EXPOSE 3000
|