Update dockerfile build
This commit is contained in:
1 parent
5a56245218
commit
d7ade96371
3 files changed
+2004
-1756
No files matched your search
+3
-3
@@ -11,13 +11,13 @@ COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml* ./
|
||||
RUN apk add --no-cache python3 make g++
|
||||
|
||||
# Installation mit deiner funktionierenden Workspace-Konfiguration
|
||||
RUN pnpm i --frozen-lockfile
|
||||
RUN npm i --frozen-lockfile
|
||||
|
||||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
RUN pnpm run build
|
||||
RUN npm run openapi:generate; npm run build
|
||||
|
||||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
@@ -33,4 +33,4 @@ EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
CMD ["node", "server.js"]
|
||||
Generated
+2000
-1752
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -17,7 +17,7 @@
|
||||
"better-sqlite3": "^13.0.2",
|
||||
"dotenv": "^17.4.2",
|
||||
"gray-matter": "^4.0.3",
|
||||
"next": "16.2.9",
|
||||
"next": "^16.4.0",
|
||||
"next-mdx-remote": "^6.0.0",
|
||||
"papaparse": "^5.5.4",
|
||||
"react": "19.2.4",
|
||||
|
||||
Reference in new issue
Block a user