Add WASM files to standalone output
This commit is contained in:
parent
1b1215b4ed
commit
9842715e9a
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ COPY --from=builder /app/public ./public
|
|||
COPY --from=builder /app/.next/standalone ./
|
||||
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)
|
||||
RUN addgroup --system --gid 1001 nodejs \
|
||||
&& adduser --system --uid 1001 nextjs \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue