mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
feat: convert docs to pdf logic with api endpoint and dockerfile dependency
This commit is contained in:
parent
4f119ca750
commit
40032dca69
6 changed files with 124 additions and 23 deletions
|
|
@ -5,7 +5,7 @@ FROM node:18-alpine AS base
|
|||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk add --no-cache libc6-compat libreoffice ttf-liberation
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies based on the preferred package manager
|
||||
|
|
@ -49,7 +49,6 @@ RUN adduser --system --uid 1001 nextjs
|
|||
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
COPY --from=builder /app/.next/static ./.next/static
|
||||
COPY --from=builder /app/public ./public
|
||||
|
||||
USER nextjs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue