Compare commits

..

2 commits

Author SHA1 Message Date
c8f12205b8 Add build-frontend back into CI
All checks were successful
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Successful in 8m53s
Podman Rootless Demo / deploy-prod (push) Successful in 55s
2025-10-25 21:59:38 -04:00
9842715e9a Add WASM files to standalone output 2025-10-25 21:58:53 -04:00
2 changed files with 5 additions and 2 deletions

View file

@ -176,7 +176,7 @@ jobs:
build-frontend: build-frontend:
runs-on: [ci] runs-on: [ci]
if: false # if: false
# needs: [test-backend, test-frontend] # needs: [test-backend, test-frontend]
# needs: [test-frontend] # needs: [test-frontend]
@ -238,7 +238,7 @@ jobs:
deploy-prod: deploy-prod:
runs-on: [prod] runs-on: [prod]
# needs: [build-backend] # needs: [build-backend]
# needs: [build-frontend] needs: [build-frontend]
# needs: [build-backend, build-frontend] # needs: [build-backend, build-frontend]
env: env:

View file

@ -65,6 +65,9 @@ COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static COPY --from=builder /app/.next/static ./.next/static
# Copy WASM files to standalone output
COPY --from=builder /app/src/lib/wasm-pkg ./src/lib/wasm-pkg/
# non-root (optional) # non-root (optional)
RUN addgroup --system --gid 1001 nodejs \ RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 nextjs \ && adduser --system --uid 1001 nextjs \