fix: add missing patches COPY + workspace COPY to Dockerfiles; fix UI workdir; add @prisma/client-runtime-utils explicitly to api and dalpuri
This commit is contained in:
+6
-4
@@ -10,8 +10,10 @@ COPY dalpuri/package.json ./dalpuri/package.json
|
||||
COPY ui/package.json ./ui/package.json
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
# Build the SvelteKit app with adapter-node
|
||||
COPY . .
|
||||
# Copy UI source files
|
||||
COPY ui/ ./ui/
|
||||
|
||||
WORKDIR /app/ui
|
||||
|
||||
ARG PUBLIC_API_URL=https://opt-api.osdci.net
|
||||
ENV PUBLIC_API_URL=$PUBLIC_API_URL
|
||||
@@ -27,8 +29,8 @@ FROM node:22-alpine AS production
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=base /app/build-bundled/index.js ./index.js
|
||||
COPY --from=base /app/build/client ./client
|
||||
COPY --from=base /app/ui/build-bundled/index.js ./index.js
|
||||
COPY --from=base /app/ui/build/client ./client
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user