This commit is contained in:
@@ -13,6 +13,7 @@ RUN corepack prepare yarn@stable --activate
|
||||
WORKDIR /app
|
||||
COPY --from=dependencies /app/node_modules ./node_modules
|
||||
COPY . ./
|
||||
RUN yarn prisma-gen
|
||||
RUN yarn build
|
||||
|
||||
# --- Stage 3: Runner ---
|
||||
@@ -23,4 +24,6 @@ WORKDIR /app
|
||||
COPY --from=builder /app/build /app/build
|
||||
COPY --from=builder /app/.yarn ./.yarn
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["yarn", "start"] # Replace with your start command
|
||||
|
||||
Reference in New Issue
Block a user