Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN pnpm install --ignore-scripts
FROM base AS prod-deps
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
# Koreksi di sini
# Install only production dependencies and skip lifecycle scripts
RUN pnpm install --prod --ignore-scripts

FROM base AS build
Expand All @@ -30,4 +30,4 @@ COPY --chown=node:node --from=build /app/build ./build
COPY --chown=node:node package.json ./

EXPOSE 3000
CMD ["npm", "run", "start"]
CMD ["pnpm", "start"]
Loading