support local development with docker

This commit is contained in:
Saso Matejina
2017-12-05 10:42:52 -08:00
parent 7af2ff20a8
commit 61c32ee175
3 changed files with 60 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:latest
ENV APP_PATH /opt/outline
RUN mkdir -p $APP_PATH
WORKDIR $APP_PATH
COPY . $APP_PATH
RUN yarn
RUN cp -r /opt/outline/node_modules /opt/node_modules