You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/12/14 08:34:00 UTC

[jira] [Updated] (HDDS-9563) Containerize website development server

     [ https://issues.apache.org/jira/browse/HDDS-9563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated HDDS-9563:
-----------------------------------
    Component/s: website

> Containerize website development server
> ---------------------------------------
>
>                 Key: HDDS-9563
>                 URL: https://issues.apache.org/jira/browse/HDDS-9563
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Ethan Rose
>            Assignee: Abhishek Pal
>            Priority: Minor
>              Labels: pull-request-available
>
> Building docusaurus sites requires installing a node package manager (npm, yarn, pnpm), and installing all dependencies on your machine (a few hundred MB). While this is suitable for doing production builds of the site, users who just want to quickly preview their docs changes may prefer a lighter weight option. This jira proposes:
> 1. Adding a Dockerfile to build an image with the website dependencies included.
> 2. Adding a docker compose file to run the website in development mode with the source code mounted as a volume. The preview would be viewable on localhost:3000 the same as if it were running natively on the machine.
> This way, previewing changes with hot reload would only require the user running {{docker compose up}}. The space occupied by the dependencies could be cleared out by deleting the docker image, which would be automatically rebuilt if needed on the next invocation.
> Currently, I don't see much advantage to containerizing the production build of the website since that will be deployed using apache infrastructure, so the scope of this Jira is limited to the development server.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org