Skip to content

Commit

Permalink
Fix web Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aldahick committed Oct 22, 2024
1 parent 21b1200 commit 46ce7ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ COPY web/src src
RUN pnpm build

FROM base AS server

RUN pnpm install --prod --frozen-lockfile
RUN npm i -g serve

WORKDIR /rex
COPY --from=builder /rex/sdk/dist sdk/dist
COPY --from=builder /rex/web/build web/build
COPY --from=builder /rex/web/public web/public

WORKDIR /rex/web
CMD pnpm start
COPY --from=builder /rex/web/dist dist
COPY --from=builder /rex/web/public public

CMD ["serve", "-s", "dist", "-l", "tcp://0.0.0.0:3000"]

0 comments on commit 46ce7ba

Please sign in to comment.