diff --git a/Dockerfile.docs b/Dockerfile.docs new file mode 100644 index 0000000..3dbc33c --- /dev/null +++ b/Dockerfile.docs @@ -0,0 +1,10 @@ +FROM node:8.11.4 + +WORKDIR /app/website + +EXPOSE 3000 35729 +COPY ./docs /app/docs +COPY ./website /app/website +RUN yarn install + +CMD ["yarn", "start"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 6711192..d69fc98 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,9 @@ version: "3" services: docusaurus: - build: . + build: + dockerfile: Dockerfile.docs + context: . ports: - 3000:3000 - 35729:35729