Skip to content

Commit

Permalink
fix: mkdir -p /var/opt/bytebase/pgdata-demo to fix docker permission …
Browse files Browse the repository at this point in the history
…error (#4522)
  • Loading branch information
tianzhou committed Jan 31, 2023
1 parent 7df85da commit 0553b38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/Dockerfile
Expand Up @@ -75,6 +75,9 @@ RUN addgroup --gid 113 --system bytebase && adduser --uid 113 --system bytebase
# Directory to store the data, which can be referenced as the mounting point.
RUN mkdir -p /var/opt/bytebase

# Directory to store the demo data.
RUN mkdir -p /var/opt/bytebase/pgdata-demo

ENV OPENSSL_CONF /etc/ssl/

# Copy utility scripts, we have
Expand Down
3 changes: 3 additions & 0 deletions scripts/Dockerfile.render-demo
Expand Up @@ -84,6 +84,9 @@ RUN addgroup --gid 113 --system bytebase && adduser --uid 113 --system bytebase
# Directory to store the data, which can be referenced as the mounting point.
RUN mkdir -p /var/opt/bytebase

# Directory to store the demo data.
RUN mkdir -p /var/opt/bytebase/pgdata-demo

ENV OPENSSL_CONF /etc/ssl/

CMD ["--port", "80", "--data", "/var/opt/bytebase"]
Expand Down

0 comments on commit 0553b38

Please sign in to comment.