Skip to content

Commit

Permalink
fix docker-compose for docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
ajatprabha committed Sep 10, 2020
1 parent fcd06cc commit 9186130
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
@@ -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"]
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ version: "3"

services:
docusaurus:
build: .
build:
dockerfile: Dockerfile.docs
context: .
ports:
- 3000:3000
- 35729:35729
Expand Down

0 comments on commit 9186130

Please sign in to comment.