@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 +11 -0
- package/Dockerfile +9 -22
- package/entrypoint.sh +3 -0
- package/package.json +1 -1
- package/ProcFile +0 -1
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
30
|
-
ENTRYPOINT pnpm serve --host 0.0.0.0 --no-open --port $PORT
|
|
31
|
-
|
|
18
|
+
ENTRYPOINT ["./entrypoint.sh"]
|
package/entrypoint.sh
ADDED
package/package.json
CHANGED
package/ProcFile
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
web: npm run serve -- --port $PORT --host 0.0.0.0
|