Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Oct 23, 2024
1 parent 4349247 commit 72f0f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci
COPY . .
ENV NEXT_PRIVATE_STANDALONE true
RUN npm run build

FROM node:slim
LABEL Maintainer Michael Shihjay Chen <[email protected]>
WORKDIR /usr/src/app
ENV NODE_ENV production
ENV NEXT_PRIVATE_STANDALONE true
COPY --from=builder /usr/src/app/.next/standalone ./
COPY --from=builder /usr/src/app/.next/static ./.next/static
RUN mkdir -p /usr/src/app/trustees
Expand Down

0 comments on commit 72f0f61

Please sign in to comment.