diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:44:41 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:44:41 +0100 |
| commit | 0887761a58beadffae4d2f8811e37da3412a9fd4 (patch) | |
| tree | 45caf4a4f8b238484d3965ff57ca6cb7b9d54833 /communities | |
| parent | 9ce78a32068e60342f5612d1f4fb646c47d6c27f (diff) | |
| download | unnamed-group-0887761a58beadffae4d2f8811e37da3412a9fd4.tar unnamed-group-0887761a58beadffae4d2f8811e37da3412a9fd4.tar.gz unnamed-group-0887761a58beadffae4d2f8811e37da3412a9fd4.tar.bz2 unnamed-group-0887761a58beadffae4d2f8811e37da3412a9fd4.tar.xz unnamed-group-0887761a58beadffae4d2f8811e37da3412a9fd4.zip | |
include auth config with build
Diffstat (limited to 'communities')
| -rw-r--r-- | communities/red-right-hand/174bg.net/Dockerfile | 3 | ||||
| -rw-r--r-- | communities/red-right-hand/174bg.net/README.md | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/communities/red-right-hand/174bg.net/Dockerfile b/communities/red-right-hand/174bg.net/Dockerfile index bf4fce4..9d959cb 100644 --- a/communities/red-right-hand/174bg.net/Dockerfile +++ b/communities/red-right-hand/174bg.net/Dockerfile @@ -89,6 +89,9 @@ ENV HOSTNAME="0.0.0.0" # Copy production assets COPY --from=builder --chown=node:node /app/public ./public +# Copy auth config so migrations can be run against the production container +COPY --from=builder --chown=node:node /app/src ./src + # Set the correct permission for prerender cache RUN mkdir .next RUN chown node:node .next diff --git a/communities/red-right-hand/174bg.net/README.md b/communities/red-right-hand/174bg.net/README.md index 59d5886..71f534e 100644 --- a/communities/red-right-hand/174bg.net/README.md +++ b/communities/red-right-hand/174bg.net/README.md @@ -11,5 +11,5 @@ The website is built using [Next.js](https://nextjs.org/) and is deployed via [D After starting the containers, run the following command to apply database migrations: ```sh -docker compose exec 174bg-net npx auth@latest migrate --yes +docker compose exec 174bg-net npx auth@latest migrate --config src/auth.js --yes ``` |
