@powerhousedao/academy 0.1.0-dev.1 → 0.1.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.1.0-dev.2 (2025-05-26)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **academy:** deployment ([36e5f194d](https://github.com/powerhouse-inc/powerhouse/commit/36e5f194d))
6
+ - **switchboard:** docker build ([7052e39e1](https://github.com/powerhouse-inc/powerhouse/commit/7052e39e1))
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - Frank
11
+
1
12
  ## 0.1.0-dev.1 (2025-05-25)
2
13
 
3
14
  ### 🚀 Features
package/Dockerfile CHANGED
@@ -1,31 +1,18 @@
1
1
  # syntax=docker/dockerfile:1
2
2
 
3
- # Stage 1: Base image.
4
- ## Start with a base image containing NodeJS so we can build Docusaurus.
5
3
  FROM node:lts AS base
6
- ## Disable colour output from yarn to make logs easier to read.
7
4
  ENV FORCE_COLOR=0
8
- ## Enable corepack.
9
- RUN corepack enable
10
- ## Set the working directory to `/opt/docusaurus`.
11
- WORKDIR /opt/docusaurus
12
5
 
13
- # Stage 2b: Production build mode.
14
- FROM base AS prod
15
- ## Set the working directory to `/opt/docusaurus`.
16
- WORKDIR /opt/docusaurus
17
- ## Copy over the source code.
18
- COPY . /opt/docusaurus/
19
- ## Install dependencies with `--frozen-lockfile` to ensure reproducibility.
6
+ ENV PNPM_HOME="/pnpm"
7
+ ENV PATH="$PNPM_HOME:$PATH"
8
+ RUN corepack enable && corepack install --global pnpm@10.1.0
9
+ ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
10
+
11
+ WORKDIR /app
12
+ COPY . .
13
+ RUN chmod +x entrypoint.sh
20
14
  RUN pnpm install --frozen-lockfile
21
- ## Build the static site.
22
15
  RUN pnpm build
23
-
24
- # Stage 3a: Serve with `docusaurus serve`.
25
- FROM prod AS serve
26
- ## Expose the port that Docusaurus will run on.
27
16
  ENV PORT=3000
28
17
  EXPOSE $PORT
29
- ## Run the production server.
30
- ENTRYPOINT pnpm serve --host 0.0.0.0 --no-open --port $PORT
31
-
18
+ ENTRYPOINT ["./entrypoint.sh"]
package/entrypoint.sh ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/sh
2
+
3
+ pnpm serve --host 0.0.0.0 --no-open --port $PORT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/academy",
3
- "version": "0.1.0-dev.1",
3
+ "version": "0.1.0-dev.2",
4
4
  "homepage": "https://powerhouse.academy",
5
5
  "dependencies": {
6
6
  "@codesandbox/sandpack-react": "^2.14.4",
package/ProcFile DELETED
@@ -1 +0,0 @@
1
- web: npm run serve -- --port $PORT --host 0.0.0.0