You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2022/10/30 12:31:26 UTC

[apisix-website] branch master updated: docs: 'docs' not found when use docker (#1378)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 671be3e6a32 docs: 'docs' not found when use docker (#1378)
671be3e6a32 is described below

commit 671be3e6a32134097d56ce358d213ea646cd8a6e
Author: HaoYu Dong <73...@users.noreply.github.com>
AuthorDate: Sun Oct 30 20:31:19 2022 +0800

    docs: 'docs' not found when use docker (#1378)
---
 Dockerfile         | 2 +-
 docker-compose.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index c7f1856c141..3101f90cd9d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM node:lts
 WORKDIR /app/website
 
 EXPOSE 3000 35729
-COPY ./docs /app/docs
+COPY ./doc /app/doc
 COPY ./website /app/website
 RUN yarn install
 
diff --git a/docker-compose.yml b/docker-compose.yml
index 6711192ae1e..0cd05c4061c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,7 +7,7 @@ services:
       - 3000:3000
       - 35729:35729
     volumes:
-      - ./docs:/app/docs
+      - ./doc:/app/doc
       - ./website/blog:/app/website/blog
       - ./website/core:/app/website/core
       - ./website/i18n:/app/website/i18n